logoalt Hacker News

canpantoday at 9:27 AM1 replyview on HN

I'm In This Photo and I Don't Like It.

Wrote a basic interpreter in C/Wasm last year. Finished it, but in the end never posted it anywhere. While I started my dev journey with Basic as a child, I was quickly reminded why I moved to C as soon as I learned about it. Basic is just not particular useful and has a lot of funny behavior or missing parts for any serious project. I still enjoy C, sometimes ASM, but not basic anymore.


Replies

rbanffytoday at 10:28 AM

> Basic is just not particular useful and has a lot of funny behavior or missing parts for any serious project.

I think it is an interesting teaching tool. It has a lot of limitations that place it close to the machine level - all variables being global, no real named functions, and so on. It grounds the expectations about what a computer can and can't do - all the fancy things we do are smoke and mirrors layered on top of a very simple machine.

show 1 reply