6 ms·
The reason is that logger.debug(...) should really be logger.debug { ... } Which can be done trivially in a language with convenient blocks/lam
by stcredzero 17y ago
The reason is that logger.debug(...) should really be
logger.debug {
...
}
Which can be done trivially in a language with convenient blocks/lambdas. Then the debugging expressions will not run at all with debugging disabled.
Yes, having a meta-syntax as your syntax is very useful.