3 ms·
> There will always be non-expert programmers of many languages. Avoiding language-specific constructs will not solve the issue. This is a language-specific is
by pyre 12y ago
> There will always be non-expert programmers of many languages. Avoiding language-specific constructs will not solve the issue.
This is a language-specific issue that occurs rarely in the wild. Yes, it's part of the language, but it's used rarely enough that it can trip up even experienced Python programmers.
For example, Perl (until more recently) allowed one to change arrays to be 1-indexed, rather than 0-indexed at runtime. Just because it's part of the language doesn't mean that it's a good thing to use it.