r/ObjectiveC • u/apple4ever • Oct 07 '17
Why many developers still prefer Objective-C to Swift
https://www.hackingwithswift.com/articles/27/why-many-developers-still-prefer-objective-c-to-swift
20
Upvotes
View all comments
Show parent comment
4
u/iccir Oct 08 '17
I suspect we may have different definitions of complicated. I was referring to the syntax of the language itself, as in: how hard is it to write a parser or tool which can read source code files?
A complex language doesn't mean a language is bad. C++ is complex, but it's very useful in certain scenarios. (Likewise, I'm sure you and others find Swift to be useful.) Conversely, Lua and Forth are both tiny and simple languages, but I've only used them in a few jobs.
From a syntax perspective, C is fairly simple, and Obj-C 1.0 was a small layer on top of that. It's grown in complexity over the years (2.0, ARC, nullability, covariants, etc.), but I still believe it simpler to programmatically parse than any version of Swift.