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

That's true for drawing one straight line, sure!

The question here wasn't whether the language is easy to use, the issue raised in the article was whether the language & dev environment are pre-installed, how hard they are to install, and then how hard the programs are to share after you're written them.

No version of BASIC is being shipped with any OS today. You still have to download the language and a dev environment on a brand new (Windows) computer. And when you share a BASIC program, you either have to build an executable that will run on someone else's machine, or the recipient has to install BASIC on their own. (The article was about sharing code & learning to code, so a binary isn't ideal.)

JavaScript and the dev environment, on the other hand, comes with every new computer, on every OS, because browsers are pre-installed.

BTW, is this modern basic? That looks like what I remember from DOS 2.0 in 1980. :P

To be fair, you're comparing HTML canvas API to BASIC's native line drawing, this example doesn't actually say much about the JavaScript or BASIC languages. And it doesn't compare BASIC's graphics to canvas's... with canvas you can draw curves and bitmaps and do transforms. I'm not familiar with whether BASIC can do that these days.

In my experience, canvas is quite easy to use, even compared to BASIC. I know you were joking, but incomprehensible is what I'd use for, say, Vulkan or DX12. JS+canvas is very comprehensible and easy, at all times, in my opinion.



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

Search: