Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

To be fair, he was talking about classic BASIC which didn't even have user defined procedures but just goto and gosub similar to jumps and calls in assembly language. I remember when I started learning Pascal after BASIC on the Apple II and there was so much to unlearn about programming because how you wrote BASIC was so different from any other high level programming language.


Sure. Pascal btw. had a pretty "flexible" goto statement, I would say nearly as flexible as BASIC; Apple ][ Pascal was a bit more structured though. In original Pascal, you could use goto to even jump out of a procedure; Apple Pascal could only jump within a procedure, and only if goto was enabled at all, if I remember correctly.


True. And even C has one. I guess you could write "spaghetti code" in Pascal if you really wanted to.


No point trying to justify what he said, history has proved him wrong.

This industry was built on foundations laid down by people who started by with basic on 8 bit systems.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: