Crosscut

Daily Note - 2025-05-16

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

So you call a bunch of functions, and the values that flow through them form a non-trivial graph. Probably the most straight-forward way to express that, is to assign names to those values, so you can refer to them exactly where they are needed:

let (x, y) = a();
let z = b(x);
c(y, z);

Simple, easy to understand, tried and true. But note that this example is in prefix syntax (it's Rust, to be precise). And yet, the operations are in the order that they're going to get executed in. In that case, what exactly would be the point of using postfix syntax instead?

Hey, you! Want to subscribe to my daily notes? 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.