On Monday, 14 May 2018 at 06:14:02 UTC, Rel wrote:
On Thursday, 3 May 2018 at 19:11:05 UTC, Mark wrote:
Funnily, none of these languages have a "static if" construct,
nor do Rust, Swift and Nim. Not one that I could find, anyway.
So what's a big deal in having 'static if' construct? Most of
the
new programming languages that compiles to native code like Nim,
Crystal, Rust, Red and etc have good enough meta-programming
support anyways.
I recommend this talk to show what static if (among other static
introspection tools) enables.
https://www.youtube.com/watch?v=29h6jGtZD-U
Cheers