Posts tagged js

Oct10

hello, assert

programming js what_if helloworld | comments

Tests are enterprisey. At least, that’s the impression I have at times. If not enterprisey, they are something extra and not fun. I don’t know if I agree any more.

What if, for example, the canonical first program was not hello_world but some sort of assert() function or statement? What is hello_world, anyways, if not a test that the environment is working and that the programs we write will run, and do what we want them to do?

Continue reading »