Hacker News new | ask | show | jobs
by cellularmitosis 2126 days ago
Not in vanilla JS. If you use the flavor of JS accepted by google’s closure compiler, then yes.
1 comments

If anything, it proves how ineffective standards committees are. Similar to the standard library proposal which seems to be not yet implemented.

Still better than C++ standard people who try to cram infinite complexity into 100 layers of templates every three years for sake of adding a feature as library instead of language feature, with utter ignorance towards debug build performance, compile times and error messages. I have lost respect towards them since I read a C++ performance report and didn't see the mention of inherent STL inefficiencies.