Re:A Universe in One Line of Code with 10 PRINT
by wruza on Monday November 13, 2017 @03:31AM
(#15685102)
I think this snippet is missing either ENDIF at 95 or the fact that
IF ... THEN <x> ELSE <y>
accepts either a single statement or a line number to go to as <x> and <y>. So, in dialects where ENDIF doesn’t exist at all, it was actually a bit harder than just writing or thinking WHILE-style. When I moved from ZX spectrum-clone basic to gwbasic and tbasic/qbasic, it felt much easier. (I was also more advanced by the time, so can’t tell how it changed my view on the old style.)
Edit: formatting