4 ms·
It's mystifying to me that the author comes to the conclusion that the solution to this is to educate people on debugging tools and edge-case semantics. The rea
by Oxitendwe 10y ago
It's mystifying to me that the author comes to the conclusion that the solution to this is to educate people on debugging tools and edge-case semantics. The reason the code is difficult to debug is because the "bug" is that functions are apparently completely broken and violate every reasonable assumption anybody is likely to make about them without a priori knowledge about this specific edge case. Why isn't the conclusion then, that Python is broken, and has a serious and fundamental problem? Why doesn't anybody see this as a "broken window", that leads us as a culture to believe that this sort of thing is acceptable and to be expected and not an ugly, horrible, and utterly unnecessary problem? Is this really the language we're supposed to teach to beginners? How many combined hours have been wasted on solving problems generated by this behavior, and for what purpose? I don't understand why people accept this.