|
|
|
|
|
by astrange
1971 days ago
|
|
> Having developed only one small iOS app with Objective-C code, I was mostly turned off by its overall verbosity in the context of NS prefixes. This is actually a blessing because NS-/name prefixes are a simple approach to naming that keeps you humble. If you let programmers have namespacing they will invent enterprise software frameworks where every class is six layers deep in a namespace of random tech buzzwords they thought up. > Hence, I ask the question on behalf myself and others who did not appreciate the language and did not give it a proper chance... what did I miss and what are its top appeals? It implements message-based programming, which is "real" OOP and more powerful than something like C++, where OOP just means function calls where the first parameter goes to the left of the function name instead of the right. In particular it implements this pattern: https://wiki.c2.com/?AlternateHardAndSoftLayers
which is great for UI programming and lets you define the UI in data rather than code. Although iOS programmers seem to like doing it in code anyway. |
|