3 ms·
> not having to write getter and setter methods seems like a really big deal I agree. I've not used Objective C but if a language forces you to write the same
by cabalamat 18y ago
> not having to write getter and setter methods seems like a really big deal
I agree. I've not used Objective C but if a language forces you to write the same boilerplate code again and again, it's badly designed.
- DLWormwood 18y ago> if a language forces you to write the same boilerplate code again and again, it's badly designed. It's not that ObjC was badly designed, it's that it was designed before modern OOP principles were popularized. ObjC 1.0 dates back to the mid-80's, if not sooner, if you count some of the work done with SmallTalk as a predecessor. Most of what people think is part of ObjC is really "convention" from the NeXTStep/Cocoa APIs, not something actually designed in to the language in the first place.