Re:Yes, code is data, but that's not what makes Lisp cool
by simula67 on Saturday February 17, 2018 @04:10AM
(#16399831)
> live coding, inspection, self-documentation and hotswapping
I have done all of this with Java and Intellij
Re:Yes, code is data, but that's not what makes Lisp cool
by divs1210 on Saturday February 17, 2018 @08:52AM
(#16400655)
Proof? Setup? Video?
Re:Yes, code is data, but that's not what makes Lisp cool
by Can_Not on Sunday February 18, 2018 @01:30PM
(#16407373)
I'd like a side by side comparison of each implementation's effectiveness and feature set, but this is so common I don't see why proof is needed.
Re:Yes, code is data, but that's not what makes Lisp cool
by divs1210 on Saturday February 17, 2018 @08:54AM
(#16400661)
Here's a video demo of this in action:
Re:Yes, code is data, but that's not what makes Lisp cool
by hippich on Friday February 16, 2018 @09:16PM
(#16398489)
Could you point total newb to tutorial showing these off?
Re:Yes, code is data, but that's not what makes Lisp cool
by gre on Friday February 16, 2018 @09:46PM
(#16398601)
Check 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)
Re:Yes, code is data, but that's not what makes Lisp cool
by saagarjha on Saturday February 17, 2018 @02:03AM
(#16399459)
I 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?
Re:Yes, code is data, but that's not what makes Lisp cool
by taeric on Friday February 16, 2018 @09:22PM
(#16398516)
Would you be ok seeing an interactive session in emacs? If so, I can easily get you an example created of that.
Re:Yes, code is data, but that's not what makes Lisp cool
by themoat on Friday February 16, 2018 @11:32PM
(#16399020)
I would also love to see that.
Re:Yes, code is data, but that's not what makes Lisp cool
by michaericalribo on Friday February 16, 2018 @10:02PM
(#16398686)
I sure would
Re:Yes, code is data, but that's not what makes Lisp cool
by taeric on Saturday February 17, 2018 @02:57AM
(#16399622)
I'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...)
Re:Yes, code is data, but that's not what makes Lisp cool
by taeric on Monday February 19, 2018 @02:16AM
(#16411260)
I 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 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.
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.