why a call method embed the default value into its call when use default value for optional parameter?

后端 未结 0 1507
没有蜡笔的小新
没有蜡笔的小新 2021-02-08 11:53

I was reading a book which says:

Be aware that changing a parameter’s default value is potentially dangerous if the method is called from outside the module.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题