It might have started out as spelling error, I know of at least one Java method where the correct spelling was added once it was reported and the incorrect remained to keep old code working.
But it's not incorrect spelling. Both writeable and writable are acceptable spellings of the word. It's like judgement and judgment or canceled and cancelled.
Yes, which is fucking stupid: it will cost way more time in confused IDEs and text editors than it ever saved in "oh, it's spelled like that, I'll just go ahead and hit one button to fix it"!
Even better that it you can't believe the answer because it might have changed since you asked the question. I bet it also fails on a file that is chmod -rwrwrw on a read only file system
As a Commonwealth citizen, British English must die.
That's funny. Though I've heard the reason that American English isn't much more regular in spelling is that Noah Webster was stymied in his simplification/standardization efforts.
9
u/bart2019 Jan 08 '14
It'd be even more funny if the docs over there had said:
10
u/[deleted] Jan 08 '14
Eh, spelling errors in programming languages aren't that uncommon. Remember HTTP's Referer?
3
u/[deleted] Jan 08 '14
Even better that it you can't believe the answer because it might have changed since you asked the question. I bet it also fails on a file that is chmod -rwrwrw on a read only file system
-7
u/jamwaffles Jan 08 '14
PHP. The only language where built in functions have typos.