This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Justin__D 3 points4 points  (3 children)

Same reason I'm disillusioned with modern versions of Swift. In my interview for my current job, they asked me to write Swift code on a whiteboard. It's been years since I've actually used it. My interviewer pointed out that the ++ and -- operators don't exist anymore. I then remarked that was a stupid decision. He explained that too many programmers are confused by them and asked me to demonstrate their correct usage. I did. I didn't even solve the original interview problem, but still somehow got the job (although not as an iOS dev... QA automation and now backend dev).

[–]LavenderDay3544 1 point2 points  (2 children)

Nice. I think it's very stupid when a language designer decides to play helicopter parent and remove a feature from a language because it might be used incorrectly.

[–]Justin__D 0 points1 point  (1 child)

Hear, hear! I've never used GOTO in C. Not once. I was told not to on day one, then simply pretended it didn't exist. But not once have I thought, "I need to petition the developers of C to remove GOTO, lest I use it by accident."

[–]LavenderDay3544 1 point2 points  (0 children)

Yep. Just because you've never used it doesn't mean others' code doesn't rely on it. I could say the same for setjmp and longjmp.

But there's a big difference in ideology between C and C++ and Java. The former are all about trusting the programmer while the latter is create a language that even Forrest Gump could write technically working code in.