News for hackers. Stuff that matters.
Re:Swift Programming Language Evolution by warmwaffles on Monday May 09, 2016 @12:27PM (#11661025)
++i and i++ have their uses. Just because it is confusing to you doesn't mean it is confusing to others. There are things about swift that are confusing to me, but I don't out right say that it has to go.

Chalk this one up to shit hacker news says.

Re:Swift Programming Language Evolution by whatever_dude on Monday May 09, 2016 @01:02PM (#11661324)
I believe something can be easy to understand (as is i++/++i) but also confusing.

Things that require a double take to read and parse do not help. Additional solutions to the same problem do not help.

There's a lot of cleverness that can come up in programming that may make for neat/short writing but that makes reading and purpose less clear. i++/++i helps with that with no special benefits.

I like how the Swift team approached the decision to remove them: thinking on whether it would make sense to add them had they not been there. And it doesn't, as they solve no particular problem; they're just a special, (not much) shorter solution to something that's already solved.

Re:Swift Programming Language Evolution by proyb2 on Tuesday May 10, 2016 @09:06PM (#11671942)
Too easy to get errors for array or objects loop outside the boundary that can be confusing for any teams dealing with large scale and when the requirements change frequently.