What are the key differences between OO in Smalltalk and Java?

前端 未结 7 1735
臣服心动
臣服心动 2021-01-30 13:31

What are the key differences between OO in Smalltalk and Java?

Please note that I am a Java programmer trying to expand his horizons by exploring Smalltalk. Currently I

7条回答
  •  别那么骄傲
    2021-01-30 14:00

    In Smalltalk everything is the object while in Java things like small integers are still not the first class objects. Also, to continue with numbers, in Smalltalk due to its pure OO nature and strong reflective capabilities we never need to care about the number size, like if an integer is small or large and what happens when small integer overflows to large.

提交回复
热议问题