News for hackers. Stuff that matters.
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.