Y
Hacker News
new
|
ask
|
show
|
jobs
by
zer0gravity
3618 days ago
You want to wrap it in an if in order to avoid doing extra work ( like string concatenation or whatever ) and save some computation. It's to improve performance when logging is not enabled.