3 ms·
> write a program that outputs a line of text to the console Stating the obvious, but if you are outputting a line of text to the console, don't use this.
by paulddraper 4y ago
> write a program that outputs a line of text to the console
Stating the obvious, but if you are outputting a line of text to the console, don't use this.
- paxys 4y agoWhy is that obvious? That was exactly my question. For example using React to generate a simple "hello, world" style website is overkill but not totally unthinkable. Is it worse for the CLI case?
- paulddraper 4y agoNot unthinkable, but equally dumb. <!doctype HTML><html><body>Hello World</body></html> console.log("Hello World") This is for interactive CLI.