3 ms·
No code is faster than no code.
by bitbckt 11y ago
No code is faster than no code.
- agumonkey 11y agoVery nice self referential quote. Who coined it ? ps: LMGTFM https://en.wikipedia.org/wiki/Kevlin_Henney https://en.wikipedia.org/wiki/Kevlin_Henney
- grrowl 11y agoThe first time encountering a certain JS library's $.noop function bent my brain — "why would there be a function for not calling a function?" Later, wisdom visited me and I realised the costs of `typeof isThisAFunction` and the savings of optimising out an empty function call in the first place.