News for hackers. Stuff that matters.
Re:Show HN: New visual language for teaching kids to code by CoastalCoder on Tuesday November 21, 2023 @05:57PM (#38371743)
Guess I'm showing my age, but the first version of BASIC that I learned had the "gosub" command [1] for subroutine calls.

N.B.: I'm using one-based indexing for my links here because that's apparently what early BASICs used [2] :)

[1] https://picaxe.com/basic-commands/program-flow-control/gosub...

[2] https://alandix.com/blog/2021/07/27/a-brief-history-of-array...

Re:Show HN: New visual language for teaching kids to code by layer8 on Tuesday November 21, 2023 @06:05PM (#38371834)
Yes, but the built-in commands don't use that. You write

    PRINT "Hello"
and not

    GOSUB PRINT "Hello"
Rather, you'd write

    GOSUB 690
to run your subroutine that starts at line 690.