Hacker News new | ask | show | jobs
by ishouldstayaway 29 days ago
I don't love this pattern either, but where is the "magic" in the article?
1 comments

expressions in function signatures. maybe we could put the whole program in a few default arguments

i mean look at this nonsense

https://zverok.space/blog/2020-11-19-arg_defaults.html

it’s a language designed to surprise you, and that’s a bad thing