3 ms·
>What can you do in a few lines of Lisp that can't be done similarly in Python or Javascript? To pick just an example: Anybody can create a Brainfuck (programm
by flavio81 7y ago
>What can you do in a few lines of Lisp that can't be done similarly in Python or Javascript?
To pick just an example: Anybody can create a Brainfuck (programming language) interpreter in a few lines of Python or Js code.
With Common Lisp you could create a Brainfuck compiler (that compiles down to native code and thus has native code speed) in the same amount of lines of code. Or maybe shorter.
A different example: The circle-ellipse problem. It is solved easily in Common Lisp (few lines of code), because the CLOS OOP system is more powerful than the OOP systems in Java, C++, Python, Javascript and many other languages.