4 ms·
This is why the rust people require a bang in macro names. The behavior is just too confusing if what looks like a normal function is actually evaluating its ar
by adrusi 12y ago
This is why the rust people require a bang in macro names. The behavior is just too confusing if what looks like a normal function is actually evaluating its arguments in a non-strict manner.
Scala is another language that supports declaration-site opt-in for non-strict evaluation, very similarly to how swift seems to be doing it. I'm not the biggest fan of Scala, but my limited experience with it has left me with the impression that you can't trust any normal-looking code to actually be normal until you look at its documentation and/or source.