3 ms·
Yes, but tht sounds like something you decide on once. Not, dynamically and more than once. More like "in this function call given these operands, I want '+' to
by JoachimS 4y ago
Yes, but tht sounds like something you decide on once. Not, dynamically and more than once. More like "in this function call given these operands, I want '+' to be evaluated before '/'."
Or I'm probably missing something.
- pentaphobe 4y agoImagine you're writing a lot of one off solutions (say, for AOC) you may end up building a small set of helpful functions you compose together Being able to customise how they compose (through precedence) lets you build a kind of DSL for your problem space No idea how often that would be used - but I can imagine hobby scenarios