• felsiq@piefed.zip
      link
      fedilink
      English
      arrow-up
      42
      ·
      10 months ago

      Lisp uses it, with the fun extra part that operators are just normal functions - so instead of foo(bar) you get (foo bar), or for operators 1+1+2 becomes (+ 1 1 2). It’s a really fun language even just for being different than most, I def recommend playing around with it if you’re looking for something new.

      • BennyInc@feddit.org
        link
        fedilink
        arrow-up
        43
        ·
        10 months ago

        The fun part comes from using it without syntax highlighting, so you can regularly play „find the missing paranthesis“.

      • Mika@piefed.ca
        link
        fedilink
        English
        arrow-up
        14
        arrow-down
        1
        ·
        10 months ago

        The most interesting part about Lisp is homoiconicity:

        (+ 1 1 2) is literally a list with symbol “+” and 3 numbers.

        Which allows to build the most powerful macro possible, manipulating code (with data as a tree-like structures) and changing it into whatever else at compile time.

        Now if only there was any good use for macros, this would be the best language 🙃

  • exu@feditown.com
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    3
    ·
    10 months ago

    Does that make Lisp a language with significant white space?

    • owsei@programming.dev
      link
      fedilink
      arrow-up
      15
      ·
      10 months ago

      yeah, the same way you can’t structuser {...}

      There has to be something to split the identifiers