6 ms·
all those gotos could cause some serious harm
by sausage_gumbo 8y ago
all those gotos could cause some serious harm
- cr0sh 8y agoBack then, you didn't have a choice. Most microcomputer BASICs did not have any other kind of "infinite" looping construct beyond a GOTO. FOR-NEXT was about the only other option. There wasn't a WHILE or a DO-UNTIL construct in those BASICs, with the exception of (IIRC) or the BASIC used in the MSX systems (which didn't see much action outside of Japan) and in BBC BASIC (it was probably the best BASIC out there along with Microsoft's - but again, not as well known outside of the UK).
- allenu 8y agoI think he was referencing a famous Dijkstra letter "GOTO Statement Considered Harmful".
- kevin_thibedeau 8y agoWe had GOSUB for high level structured programming EWD would approve of.