I find that
object can be confusing to newcomers to the language, especially when explaining something: In the minds of newcomers, objects tend to be instances of classes - roughly what we would call values in scala. It can get confusing when one is talking about a scala
object and the other thinks they are talking about some value that they call an object because that’s what they’re used to calling those things. I usually explain that they should think of an
object like a module, and not like what they think of as an object.
When asking around why it’s called
object rather than for example
module, I learned that in Ye Olde Scaela it actually was called that, but that has since been replaced with
While the ship on renaming the thing has probably sailed by now, it did make me wonder why it was changed in the first place. Does anyone still know what the rational for that was at the time? On scala/contributors Martin mentioned
As far as I recall it was felt that
objectmore inline with
Could anyone still shed some more light on that?