I’m puzzled why File::CREAT is named that way. Why CREAT and not CREATE? TRUNC is ok. WRONLY, sure fine. but CREAT…
It seems ruby has weird name shortening scheme (which is readable, but usually is not intuitive) that is found in method names too.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The name of
creat()is a sort of historical wart. When Kenneth Thompson was asked what he’d do if given the chance to go back and do one thing differently when designing UNIX, he famously answered “I’d spellcreat()with an e”.So, no good reason really. 🙂