Re:Why many developers still prefer Objective-C to Swift
by kalleboo on Friday October 06, 2017 @09:58PM
(#15421837)
Altho TBH most of the objections I've heard against ObjC from non-ObjC developers usually are just as shallow and revolve around how weird or ugly the bracket syntax for messages is.
Re:Why many developers still prefer Objective-C to Swift
by valuearb on Friday October 06, 2017 @10:20PM
(#15421902)
my objections to obj C are code quality, pointers and crash rates.
Re:Why many developers still prefer Objective-C to Swift
by abritinthebay on Friday October 06, 2017 @11:05PM
(#15422052)
Visual affects reading which affects comprehension.
Don’t dismiss visual similarities so out of hand.
Re:Why many developers still prefer Objective-C to Swift
by ajeet_dhaliwal on Saturday October 07, 2017 @07:28AM
(#15423363)
It matters yes, I’ve never been completely comfortable with Python and Lua because of their style but in the example above how is the Swift better than the Objective-C? Sure the params syntax is cleaner here but then you have the return type (with the ugly arrow) at the end instead of the start of the line which is unusual compared to many other c style syntax languages and you also lose the -/+ instance/class method syntax i always liked in Objective-C. JavaScript of course doesn’t have to supply a return type at all, I just don’t see how any of this helps someone coming from JS/Python/Ruby combined with the deeper understand required around nullables and types.
Anyway the future isn’t Swift, it’s JavaScript for everyone :-)