3 ms·
First-class functions are problematic too[1], but function is always a definition. While code block is usually meant to be executed right away. [1]: https://gi
by ivanjermakov 1y ago
First-class functions are problematic too[1], but function is always a definition. While code block is usually meant to be executed right away.
[1]: https://github.com/ziglang/zig/issues/1048 https://github.com/ziglang/zig/issues/1048
- em-bee 1y agocan you please explain what the actual problem here is? i am trying to read through that issue discussion, but i am not quite getting what makes first-class functions problematic. as far as i am concerned, not having first-class functions would be a serious limitation to a language that would make me avoid using that language for anything serious.