|
|
|
|
|
by pjmlp
2925 days ago
|
|
Almost correct, except that Sun ignored the prior work with languages like Eiffel, Sather, Modula-3, Oberon variants. In Eiffel for example, you can declare what is the default behavior (reference or value type), and then any user of the type is able to still override it at declaration site. |
|
Even if it would be your preferred way for a language to do things, not doing so isn't necessarily wrong.