An illustration of the kind of beginner tripping-hazards we forget about once we've mastered a language.
As discussed in this thread:
I misworded my tweet. But common names that are easily shadowed are an even bigger problem than reserved words, and I'd rather have a linter warning than nothing. Every easily-to-accidentally-shadow built-in is a tripping hazard for non-experts in a language. twitter.com/iamnotcasey/stβ¦14:30 PM - 26 Mar 2020Casey Duncan @iamnotcasey@avdi Probably pendantic, but built-in names are not reserved. It's just the linter being a buzz-kill. Shadowing the "id" built-in doesn't seem like a problem to me...
Top comments (0)