if goto maẽ sense why don’t you go to get some bitches
Comment on Stop doing Computer Science
Hoimo@ani.social 9 months agoGOTO is the only thing that makes sense. It’s the “high-level” concepts like for-loops, functions and list comprehension that ruined programming.
series.append(series[k-1]+series[k-2]) for k in range(2,5)]
RAVINGS DREAMT UP BY THE UTTERLY DERANGED
Vilian@lemmy.ca 9 months ago
newIdentity@sh.itjust.works 9 months ago
Because “get some bitches” is Out of Memory
ChickenLadyLovesLife@lemmy.world 9 months ago
I started coding with TurboBasic, which included the helpful innovation of GOTO {label} instead of GOTO {line number}, which allowed you to have marginally-better-looking code like:
which meant you essentially had actual, normal methods and you didn’t have to put line numbers in front of everything. The problem was that labels (like variables) could be as long as you wanted them to be, but the compiler only looked at the first two letters. Great fun debugging that sort of nonsense.
chfour@lemm.ee 9 months ago
WHAT DO YOU MEAN IT ONLY LOOKS AT THE FIRST TWO LETTERS WHAT