Crosscut

Daily Thought - 2025-02-16

Hey, I'm Hanno! These are my daily thoughts on Crosscut, the programming language I'm creating. If you have any questions, comments, or feedback, please get in touch!

Just like there are features that can offset the disadvantages of prefix syntax, we can do the same for postfix syntax. It has become clear to me, that purism won't serve us in this case. We need both prefix and postfix elements in the syntax. (Like many other languages.)

So the choice is not between one or the other. It's what the default should be: Prefix syntax with an optional pipe operator? Or postfix syntax with an optional prefix form?

Despite everything I've said in favor of postfix syntax, I don't know what the eventual solution is going to be. I'm currently betting on postfix syntax by default, but that could change again. With the current prototype, I'm discovering that a code database and a structured editor shake things up in unintuitive ways. I'm sure there's lots more to learn.

Hey, you! Want to subscribe to my daily thoughts? Just let me know (maybe include a nice message, if you're up for it), and I'll send you an email every time I post a new one.