4 ms·
To me this looks more like immediate programming than interactive programming á la Bret Victor. You program the same way as ever, but changes can be seen immedi
by jarpineh 12y ago
To me this looks more like immediate programming than interactive programming á la Bret Victor. You program the same way as ever, but changes can be seen immediately since browser can load new code very fast. I use LiveReload for this:
http://livereload.com/ http://livereload.com/
You can get it for free, with Python for instance:
https://github.com/lepture/python-livereload https://github.com/lepture/python-livereload
It is so fast that it usually takes me more time to switch focus from editor to browser with alt-tab than LiveReload uses to refresh browser state. Also, it reloads assets like CSS and images. I used it even with LightTable's internal browser, with ongoing REPL connection, albeit briefly, but it worked.
Choice of technology involved beside, the post makes great points. I truly enjoy programming more when there is less contextual switches and waiting between coding and the runtime. REPL into the browser is also a must. ClojureScript has a REPL, but for some reason there hasn't come a JavaScript equivalent. A dev console is not nearly as powerful than complete cli app, though they seem to be getting better and better. I'd like to have a NodeJS console with connection to browser tab with the app.
And I'd like to have a way to modify the code visually direct from browser, but we are not there yet...