4 ms·
You can't document your way out of a usability problem.
by donaldstufft 13y ago
You can't document your way out of a usability problem.
- davidgerard 13y agoThere's a lot of maintainers who seem convinced otherwise.
- baq 13y agowhy is there anything in this thread besides your post is beyond me.
- thaumasiotes 13y agoThis is a nice way of putting things. There's a school of thought that says if things work how it says somewhere that they should work, then no part of the system is exhibiting a problem. But just in this thread we can see Python's insane treatment of default function parameters called a "bug in the language". I've long been mad about what I can only think of as a bug in the Java spec: bit shifts use the base-32 modulus of their actual operand. Sure, the specification says that that's what they're supposed to do, but when I ask the JVM to fill a 32-bit value with 40 zeroes from the right, I expect one of the only two sane results -- an exception or whatever value 32 zero bits represents. I'm pretty sure there is no circumstance where shifting in 8 zeroes could be correct or useful.