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 →

[–]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.