• eeleech@lemm.ee
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    I find that S-expressions are the best syntax for programming languages. And in general infix operators are inferior to either prefix or postfix notation.

    • Andy@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      In case you haven’t heard, Factor just had a new stable release, and is tons of fun for postfix enthusiasts.

      • eeleech@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Thanks, i hadn’t heard oft Factor before, it looks interesting. I’m more of a LISP and FP Person but always wanted to properly learn a stack based language, Factor seems like a nice alternative to Forth for that purpose.

      • xigoi@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        I never understood how concatenative programmers can hold the current state of the stack in their head and never get confused about what is where, especially when changing complex code.

        • Andy@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Haha I’m still working that out for sure. I guess a combination of comments, a good debugger, practice, patterns such as making many very small well defined functions, and frankly a bunch of the people being geniuses (myself certainly excluded).

    • russ@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      100%! It was mind-blowing to realize lisps are actually syntactically simpler than all the non-lisps so popular today

      Takes a bit of love from editor standpoint unfortunately, so most devs will just never attempt that hurdle