4 ms·
“If a feature is sometimes dangerous, and there is a better option, then always use the better option.” -- Douglas Crockford This could probably apply to anyth
by baron816 9y ago
“If a feature is sometimes dangerous, and there is a better option, then always use the better option.” -- Douglas Crockford
This could probably apply to anything, including a language itself.
- jclulow 9y agoThere's in impedance mismatch in that assertion, though. Let's assume that the label "dangerous" can be applied objectively to a feature. What does it mean for another option to be "better"? Better by what metric? The quote seems to suggest that the only metric is how "dangerous" something is, but in the real world that's just one of many trade-offs we must make. What about performance, instrumentation and debugging features, complexity of implementation, etc. One imagines room for quite a lot of nuance in interpreting this recommendation.