I frequently see blocks compared with anonymous functions, but they're not equivalent. In a block, you can return from the enclosing func.
Related Posts
Go has an elegant approach to defining example functions, which are shown in docs as `main()` with the output: https://go.dev/blog/examples
Playing with optional type signatures in Python, I realise that the return type is the most important to me.
I'd much rather have a function with only a return type instead of a function with only parameter types. It's often quick to add too.
Is there a programming equivalent of the strawberry problem, i.e. a specific coding task that LLMs are consistently bad at?