5 ms·
indeed, I was thinking web development for that example, but I'm talking to my local development server, not a remote one (although it's trivially possible with
by vindarel 5y ago
indeed, I was thinking web development for that example, but I'm talking to my local development server, not a remote one (although it's trivially possible with a swank connection). I often have to wait for Django in a non-trivial app. I often set a ipython breakpoint, try things out, continue, and iterate.
Anyways, do you develop your app when you are in the REPL? Or do you try things out in the REPL and write back what you found out in the files? If you found how to send changes from your editor to the REPL, then good, but it's not built-in, and it will lack the other things I mentioned.
- pdonis 5y ago> do you develop your app when you are in the REPL? Or do you try things out in the REPL and write back what you found out in the files? Yes. :-) Both strategies can be useful. (And note that "app" does not necessarily mean "web app"; web applications are just one kind of application. There are lots of different kinds of applications. The REPL helps with all of them.)
- vindarel 5y agosure. Then a web app is a clear example of Lisp's increased interactivity.
- pdonis 5y agoThe increased interactivity appears to be due to your particular framework, which you have built using Lisp but which is not the same as just "Lisp". Similar frameworks have, I believe, been built using Python.
- vindarel 5y agoThe linked article of Mikel Evins further in the thread might give you more hints.
- pdonis 5y agoOther than the "breakloop" functionality, which I agree is (AFAIK) unique to Lisp interpreters, I don't see anything described there that can't be done in a Python REPL.
- chillpenguin 5y agoIf you can't understand what people are trying to say, I recommend trying to experience it for yourself. Install Common Lisp along with Slime for Emacs, and try things out. Or try out a Smalltalk environment like Squeak or Pharo which would also give you the same "enlightening" experience. I know you are skeptical because python has a repl too and so it is hard to see what these "live" environments like lisp/smalltalk are offering. But trust me (and the others) that there is more than what python offers. I have written python professionally probably more than any other language I have used, so I'm not ignorant of python btw. No one is trying to fool you. But you don't have to take our word, please try it out for yourself!
- pdonis 5y ago> If you can't understand what people are trying to say I understand it just fine. I've used a Lisp REPL. I'm just pointing out that not all of the features of the Lisp REPL that are being mentioned are unique to Lisp. > I know you are skeptical I'm not "skeptical" at all about what can be done in a Lisp REPL. As I just said, I've used it. I have not claimed that a single thing anyone has said about the Lisp REPL is false. I think you are reading things into my posts that I have not said. > you don't have to take our word, please try it out for yourself As I said above, I already have. Don't jump to conclusions.
- vindarel 5y agono, forget the web server, there is more, I promise. > we compile our code function-by-function with a keystroke and we get instant warnings and errors, when there is an error we get an interactive debugger that pops up and allows us to inspect the stack, go to the buggy line, recompile, come back to the REPL, resume the execution from the point we want, objects are updated when a class definition changes and we can even control that.
- deleted 5y ago[deleted]