Consider the language reference for Altair BASIC (linked at http://www.swtpc.com/mholley/Altair/Altair_Basic.htm) - almost all of the flow control is by line number references.
By contrast, FUZE (https://fuzebasic.com/bin/FUZEBASIC_Programmers_Reference_Gu...) looks like it has all of the modern affordances you'd expect, like block IF statements, local variables, and the ability to refer to subroutines by name instead of by line number.
Mental models are important. Life would be better for everyone if people started learning programming with LISP, Smalltalk, or at least C#'s LINQ in LINQPad.
I have only recently realised that my terrible misunderstanding of programming is slowing me a lot.
If you want to learn about functional programming, something like this could give you fun and relatively painless head start: http://www.4clojure.com/ . Also, you could try to download LINQPad and look at code examples.
If you want to learn about real OOP, I would recommend looking into Smalltalk, learning about design principles behind Xerox Alto/Star and listening to some OOP seminars from mid-80s.
If you want to learn about high-level system design, here are some intelligent people I would listen to: Alan Kay, Rich Hickey, Peter Norvig, Salvatore Sanfilippo.
I would also recommend every programmer to watch through at least one introductory AI class. Not because they necessarily need to work with AI algorithms, but because those classes teach to solve programming problems in a better way than just "write more logic and abstractions".
https://ocw.mit.edu/courses/electrical-engineering-and-compu...
https://www.youtube.com/watch?v=mkBM4jvrhzk&list=PLAwxTw4SYa...
Hope this helps.
Functional programming is a completely different conceptual model and even if you don't use it day to day it teaches you some important principles.
Is it good if I rebuild my foundation on JS? I feel like JS is a bit, uh, messy.
Understand JavaScript deeply.
Write your applications in TypeScript.
Function scope is good.
Closures are good.
Higher order functions are good.
Partial function application is good :-)
Warning: if you get too used to FP style programming in JS, Java will feel quite painful afterward.
My experience may nor count for much, as I didn’t dive too deep to either of the first two basics. But I’ve read far too many stories of good programmers getting started on BASIC from code samples they read on books and magazines. So I would say it’s fine.
Also, for all the great things that can be said if Dijkstra, he wasn’t exactly known as a positive motivator, so I’d take his statement with huge grains of salt.
I am, however, a little concerned about one of Dijkstra's "unpleasant truths"[0]:
> It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.
I'm not qualified to interpret Dijkstra, so how serious of a warning or truth is this? Is he just generally polemical?
[0] http://www.cs.utexas.edu/users/EWD/transcriptions/EWD04xx/EW...