by darksaints · 6y ago · 0 comments
I'm a very opinionated person about programming languages, and there are plenty of modern language trends that have been bothersome to me. But none of them will be ever as bad as any of the Basic code I have interacted with. I'd rather read and maintain code that went through a unicode-permitted Haskell code golf competition than anything written in Basic.
Also, consider that it may not be the language but the fact that most BASIC programmers tend not to know much about programming...?
One consideration is most BASIC implementations had to run on systems with very limited resources. On early personal computers, that could be 4 kB or 16 kB of RAM. That limited memory had to support both the editor and editor (which needed some RAM to store its state, even if the software itself was in ROM) as well as contain the user's program. Forget about superfluous syntax. Heck, forget about formatting since it was likely tokenized. Earlier versions of BASIC may have run on systems with more resources, but it was designed for education so those resources would have been shared by many users so I don't see the situation being terribly different. Later implementations did take advantage of additional resources, but the language was already on its way out so the impact would be limited.