My first experience was coding on the C64 in BASIC. You just typed a number and code right on the console and push enter and it automatically became the code in working memory, and it ran in the number order when you typed RUN. So you could actually type it in out of order. And you skipped by 10s to allow you some space to enter new lines in between existing lines later if you needed to.
I too had a C64, but on that machine the BASIC was awful. Better-designed programming computers such as the BBC Micro had useful features like AUTO (start the next 10-numbered code line as soon as you press Enter), RENUMBER (change the numbering of code lines so that they were all separated by 10, even if you'd added new lines in between), commands to control graphics and sound etc.
C64 BASIC was so primitive you couldn't do anything related to sound or graphics without using PEEK and POKE into memory locations, and these operations were so slow it was effectively impossible to write a sound or graphics program without resorting to machine code: not even assembly language, but actual, literal numeric codes looked up on a separate reference sheet and loaded into memory with the DATA command.