3 ms·
How would it compare to other REPL languages? EG: Python, Scala or Julia?
by zlurker 4y ago
How would it compare to other REPL languages? EG: Python, Scala or Julia?
- sleepycatgirl 4y agoMore integration, and it's more powerful. With python, you less so use REPL for development, and more for testing, while in Common Lisp, you develop with it. You have REPL running, you can evaluate functions, and definitions on the fly, or completely re-define the function, even if said function is being called in a loop by other one, and it will work. Or, redefine classes, and it will be fine. Or, if function errors, debugger gets launched, and you have option to redefine variables, and the function will continue with that variable (if, you called undefined variable) Though, I believe, its better to see how it works, rather than read, While the video is not mine, https://www.youtube.com/watch?v=6pMyhrDcMzw https://www.youtube.com/watch?v=6pMyhrDcMzw And remember, this is not hot reloading.
- vindarel 4y agoThis is my attempt at explaining but honestly it is not so easy! https://lisp-journey.gitlab.io/pythonvslisp/ https://lisp-journey.gitlab.io/pythonvslisp/ see also https://mikelevins.github.io/posts/2020-12-18-repl-driven/ https://mikelevins.github.io/posts/2020-12-18-repl-driven/ It is actually not about a "REPL" but "image-based" development. It is WAY ahead of the Python REPL, which was already a relief for me. The Python REPL is archaic in comparison.
- draegtun 4y agoThe REPLs that come with Lisp, Smalltalk & Factor are in a different league. There's probably a few different reasons to why but one thing that the 3 i've listed above all have in common is that they have image-based environments. So thats probably one of the top reasons why they have superior REPLs.