02-10-2024, 12:25 AM
(02-09-2024, 03:23 PM)SMcNeill Wrote: Packing multiple lines together doesn't make the end code any shorter. It just makes it harder to read and edit. It's this old-style of thinking which lead to BASIC getting such a bad reputation all those years ago, and it being dropped by Microsoft.
Sadly this is true... To that point, when I first started with QB64, one of the first programs I ran was the GWBASIC port of Akalabeth (the precursor to Ultima, the RPG). I wanted to mod the game to use tile graphics like the later games... easier said than done! Talk about spaghetti code! Multiple statements crammed on the same line everywhere, cryptic variable names, and line numbers galore. And since this was done before BASIC got nice structural programming features, no indentation! No wonder BASIC got such a bad rap, and it's too bad!