5 ms·
There is one more thing that frequently comes up -- for good reason -- but is not really a feature unique to Lisp, only a strong part of Lisp culture: live codi
by kqr 9y ago
There is one more thing that frequently comes up -- for good reason -- but is not really a feature unique to Lisp, only a strong part of Lisp culture: live coding, inspection, self-documentation and hotswapping, or what we call hackability.
If you don't like how some Lisp application works, you can frequently just replace the contentious parts as the program is running. If something does not seem right, it is trivial to inspect all parts of the internal state. If you don't understand a variable, you can look up its documentation inside the running program.
It's a fantastic experience.
- hippich 9y agoCould you point total newb to tutorial showing these off?
- taeric 9y agoWould you be ok seeing an interactive session in emacs? If so, I can easily get you an example created of that.
- michaericalribo 9y agoI sure would
- taeric 9y agoI'll work to get a basic video by tomorrow. Nothing fancy, just showing how you can immediately define and redefine things in an emacs session. (I have aspirations to use this as an excuse to fix something in how org-mode connects to postgres databases...)
- taeric 9y agoI grossly overestimated my chances of getting on a computer this weekend. To the extent that I didn't. :( So, I didn't get a video made. My humble apologies. Rather than just leave this hanging with no response, I'll still try and get a video while at the office this week. In the meantime, https://www.youtube.com/watch?v=VEcobuYr5wg https://www.youtube.com/watch?v=VEcobuYr5wg shows a much more impressive example than what I was planning. This one actually shows "live coding" with a webpage. I was just going to show how the help system and some basic debugging in emacs works.
- themoat 9y agoI would also love to see that.
- gre 9y agoCheck out Factor. Try `"demos" run` then click on some of them, `\ each help`, `\ cpu edit` to run some demos, view the help, and edit a word. To reload the code while Factor is running, press f2. (no backticks) http://factorcode.org http://factorcode.org
- saagarjha 9y agoI find it interesting that some of the major contributors to Factor seem to work on the Swift team at Apple. Is this what they like to do for fun? What they used to work on before Swift?
- simula67 9y ago> live coding, inspection, self-documentation and hotswapping I have done all of this with Java and Intellij
- divs1210 9y agoHere's a video demo of this in action: https://m.youtube.com/watch?v=KZjFVdU8VLI https://m.youtube.com/watch?v=KZjFVdU8VLI