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.

russ
link
fedilink
English
11Y

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

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

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
link
fedilink
21Y

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.

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).

Create a post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog