Re:The Recursive Book of Recursion
by ccapndave on Saturday January 04, 2025 @05:59AM
(#42593974)
Enjoying this so far! One initial comment is that I'm not sure the JS examples should all be embedded in an HTML page; why not code them to be run in node which means you can scrap the `script` tags and use `console.log` which is shorter removes the need for including line breaks.
[ Parent
| on HN ]
Re:The Recursive Book of Recursion
by MrVandemar on Saturday January 04, 2025 @06:36PM
(#42598479)
> why not code them to be run in node
Because he considers his readers.
I can guarantee that a staggeringly high percentage of the readers have access to a web-browser capable of executing JavaScript (probably 100%). The percentage of the readers with Node installed will be necessarily lower.