4 ms·
I still like Objective-C even if it isn't my go-to language anymore. It's quite elegant compared to it's peers from the 80's, it's a very small language yet you
by dep_b 9y ago
I still like Objective-C even if it isn't my go-to language anymore. It's quite elegant compared to it's peers from the 80's, it's a very small language yet you can achieve everything with it, even if it means dipping into C(++) for the parts that need to be really performant. But on the other hand seeing a different programming language when there's some optimization going on and having another programming language for business logic is a great thing too.
How many times don't we see bugs, errors or security issues stemming from the fact that business logic gets implemented in C?
- nerdponx 9y agoWhat is cross-platform development like? Also, what about Objective-C prevents business logic bugs?
- dep_b 9y ago> What is cross-platform development like? Sorry, never tried that. > Also, what about Objective-C prevents business logic bugs? Generically speaking C makes it easy to interact with the computer memory but harder to abstract things while OO languages have it reverse. C has GOTO, Objective-C not. Objective-C has objects that easily can encapsulate different aspects of your logic. Objective-C is very verbose and readable while most C API's aren't. Obviously Swift is even better in that regard as it has better types and checks but it doesn't allow you to seamlessly use C.