It’s easy to forget the things you found confusing when you first learned something. When I first learned to program in BASIC, the thing that surprised me the most was that GOSUB was blocking. I didn’t know the terminology then, but my original assumption was that a subroutine would execute in parallel with the rest of the program and would return immediately. That felt like a much more natural style of programming and reflected how recipes are written (meanwhile…), which was my first exposure to any kind of algorithmic description.
This is one of the reasons I’m enthusiastic about the behaviour-oriented concurrency model. It provides an abstract machine that both allows formal reasoning and reflects how eight-year-old me thought programming should work.
@david_chisnall The thing that surprised me the most about GOSUB was that it existed at all.
Biggest relieve ever on my learning journey by far.
Trying to get that behavior using "50 GOTO 70" or "50 GOTO $A" was absolutely infuriating.