Hacker News new | past | comments | ask | show | jobs | submit login

10 GOTO Subject? For Pete's sake!

That's the problem with this whole "structured programming" fad: nobody knows how to write honest, plain old spaghetti-code anymore.

As for me, I enjoy throwing a goto or two into my Obj-C and Java code every once and awhile. It's perfectly legit.




The world of programming started to fall apart as soon as lowercase was allowed in code.


Honest question. Is case (in)?sensitivity something people actually care about?


Get a load of this kid.


I guess that was a stupid question. Here comes the thought_alarm... ;)


Think about how much easier it makes it to write hard-to-read-code.

index iNdex inDex indEx indeX for your inner loops


Writing in mixed case is a vector for errors in languages where case is significant, and even where it isn't, simply reading the code requires your brain to work harder, thus making it more likely that you will miss something important. The more unnecessary effort you have to expend, in reading or writing code, the more opportunity you have for making mistakes, and the less opportunity you have for being creative. Don't bother bringing up IDEs as a way to cut back on mistakes, or to help creativity. Real programmers don't need them. I still program in PL/I under OS/360 on Hercules, and that compiler hasn't been updated since about 1972. Ah, simpler times: when your keyboard weighed more than one of today's laptops, when real engineers built both the hardware and the software, and when CamelCase was merely a waking dream.

http://en.wikipedia.org/wiki/PL/I

http://99-bottles-of-beer.net/language-pl-i-548.html


On reflection I think I may have been trolling. Personally, I prefer lower case with dashes interposing distinct words. I've rarely gotten to use that in practice but haven't cared much. I didn't realize people got so upset about things like letter case. It seems like that would hinder creativity or at the very least waste time.

> Don't bother bringing up IDEs as a way to cut back on mistakes, or to help creativity. Real programmers don't need them. I still program in PL/I under OS/360 on Hercules, and that compiler hasn't been updated since about 1972. Ah, simpler times: when your keyboard weighed more than one of today's laptops, when real engineers built both the hardware and the software, and when CamelCase was merely a waking dream.

Whoa ouch. I don't measure up to that at all. I'd love to be skilled enough to design/build my own hardware. I just don't think it'd help me build websites or do much else. I don't use an IDE though so hopefully that is making me more productive in some way.




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

Search: