2 ms·
Yes, I agree with this. Lisp is tremendously powerful, and like all power, it can be abused. But when used properly it can produce some very easy-to-read and
by lisper 5y ago
Yes, I agree with this.
Lisp is tremendously powerful, and like all power, it can be abused. But when used properly it can produce some very easy-to-read and maintainable code precisely because of its malleability.
Take a look at this for example:
https://flownet.com/ron/lisp/djbec.lisp https://flownet.com/ron/lisp/djbec.lisp
In that code I used an embedded an infix parser and macros to allow me to write modular bignum arithmetic expressions as infix. That lets me cut-and-paste the infix versions of elliptic curve point addition algorithms and use them directly without translating them into s-expressions, which eliminates the possibility of transcription errors. The resulting code is much easier to read than if I'd had to actually translate all the modular math into standard Common Lisp.