Re:Why does a = a[0] = [0] create a self-referential list in...
by SOLAR_FIELDS on Friday November 19, 2021 @12:22AM
(#29274097)
I wonder if it’s because of their subtlety. I assume you are referencing JavaScript, where the warts are impossible to ignore because you can’t write an everyday program as a beginner without running into them. This sort of thing from the article is just not something I would typically be trying to do in the normal course of shuffling data around.
[ Parent
| on HN ]
There are no comments on this comment yet.