News for hackers. Stuff that matters.
Re:Lisp as the Maxwell’s Equations of Software by martyalain on Wednesday November 09, 2022 @10:45AM (#33533241)
I agree with you, but so far I have never been able to get into the logic of de Bruijn's clues. As for example John Tromp knows how to do. (https://tromp.github.io/) But I don't despair of getting there one day...
Re:Lisp as the Maxwell’s Equations of Software by qsort on Wednesday November 09, 2022 @11:39AM (#33534097)
A picture is worth a thousand words: https://en.wikipedia.org/wiki/De_Bruijn_index#/media/File:De...

It's literally just notation:

- It doesn't matter how you name variables. (if you want to sound cool: "lambda terms are invariant under alpha-conversion")

- Each new variable introduces a scope.

- Therefore, how scopes are nested defines the entire expression.

- Instead of the usual way, we represent scopes with numbers, with the index representing "how nested the scope is". Imagine it's python, and you're pressing tab that many times.

Re:Lisp as the Maxwell’s Equations of Software by pierrebai on Wednesday November 09, 2022 @01:46PM (#33536098)
Syntax and layout ware worth yet a few more orders of magnitude of words. But that argument has slipped past LISPers forever. I'll just let them keep scratching their heads why Python got so popular when LISP was around for so long and is /clearly/ superior.
Re:Lisp as the Maxwell’s Equations of Software by thrown_22 on Wednesday November 09, 2022 @03:41PM (#33537526)
Python is popular because the majority of programs are extremely simple.

Look at how ugly decorators are in python when in lisp you get them for free and they don't even need a name.

Re:Lisp as the Maxwell’s Equations of Software by lispm on Wednesday November 09, 2022 @05:11PM (#33538709)
I don't think LISPers are scratching their head about this. Lisp syntax is optimized towards meta-programming. Generating and processing code is built-in and supported with central mechanisms: READ, EVAL, PRINT, s-expressions, macros, ...

Python is optimized towards simple pseudo-code like imperative OOP. That's easier for most programmers.

Re:Lisp as the Maxwell’s Equations of Software by voldacar on Wednesday November 09, 2022 @06:02PM (#33539423)
What world are you living in where popularity is somehow a way of judging quality? The masses love marvel movies and fast food
Re:Lisp as the Maxwell’s Equations of Software by lisper on Wednesday November 09, 2022 @12:01PM (#33534466)
Note that the person you were responding to is John Tromp. :-)
Re:Lisp as the Maxwell’s Equations of Software by SkyMarshal on Wednesday November 09, 2022 @12:02PM (#33534495)
> As for example John Tromp knows how to do.

You might not have noticed the userid of the person you're replying to ;)

Re:Lisp as the Maxwell’s Equations of Software by martyalain on Wednesday November 09, 2022 @12:08PM (#33534586)
yes, I hadn't noticed that. I wish I could understand it better.