8 ms·
Douglas Crockford, is that you? Oh the lengths people will go to avoid using 'new'... I wonder if any linters out there warn when they see something like: s
by LazerBear 12y ago
Douglas Crockford, is that you? Oh the lengths people will go to avoid using 'new'...
I wonder if any linters out there warn when they see something like:
something = SomeCapitalizedFunction()
Because forgetting to use 'new' is really the only thing I could think of that makes this pattern dangerous.