this post was submitted on 01 Sep 2023
339 points (96.2% liked)

Programming

17457 readers
66 users here now

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 [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 year ago (2 children)

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 2 points 1 year ago (2 children)

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

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 2 points 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.

[–] russmatney 1 points 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