Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can only blame yourself for overusing goto in qbasic. It had functions, loops, block ifs, and all the other staples of structured programming.


> You can only blame yourself for overusing goto in qbasic. It had functions, loops, block ifs, and all the other staples of structured programming.

When talking explicitly about children beginning programming, I think "you can only blame yourself" is overly harsh. I would certainly say this of a seasoned developer; but a child just starting will—and, I think, should!—do whatever the language allows him or her to do, and it is too much to expect such a child to see, before the bad habit is ingrained, the price that he or she is paying for the apparently wonderful freedom of navigation that GOTO affords. An introductory language should, I think, be very opinionated in matters of underlying structure; just having good options is not enough, if they are not forced (or at least strongly impressed) on the novice who doesn't yet know to use them.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: