3 ms·
Why would ObjC fry anybodie's mind? I am that weird to like it (coming from web dev background: PHP, Ruby, JavaSript)?
by rimantas 15y ago
Why would ObjC fry anybodie's mind?
I am that weird to like it (coming from web dev background: PHP, Ruby, JavaSript)?
- rsynnott 15y agoRuby would help there; Ruby and Objective C both took considerable influence from Smalltalk for their object system.
- mitchty 15y agoI might be biased as well since I learned smalltalk+ruby about the same time prior to objective c. I personally find smalltalk derived OO much less painful than the java/c++ counterparts. But thats just my opinion, they both get the job done in the end. I'm curious how it fries your mind exactly? Fries like Haskell in that it makes you learn different paradigms or fries as in challenges base assumptions on how things like OO/etc... work?
- KirinDave 15y agoObjC's main "frying" factor is that it uses a different (and to my mind, superior) set of object-oriented patterns as primary abstractions. For example, subclassing is much less common in ObjC than in Java, preferring to use the less complex delegation pattern as opposed to subclass-and-implement patterns for behavior extensions. Another problem some people have is that ObjC brings to the table all the pain of C. You've got memory management and bounds checking and unsafe casts all dumped into your lap. It can be pretty painful if you're not experienced in C, C++, or ASM programming.