What Does “Overloaded”/“Overload”/“Overloading” Mean?

前端 未结 8 1238
清歌不尽
清歌不尽 2020-12-09 10:33

What does \"Overloaded\"/\"Overload\" mean in regards to programming?

8条回答
  •  甜味超标
    2020-12-09 11:17

    Overloading is the poor man's version of multimethods from CLOS and other languages. It's the confusing one.

    Overriding is the usual OO one. It goes with inheritance, we call it redefinition too (e.g. in https://stackoverflow.com/users/3827/eed3si9n's answer Line provides a specialized definition of Draw().

提交回复
热议问题