为什么使用诸如time和creat而不是getCurrentTimeSecsand createFile或者这样的非公开系统调用名,也许更适合Unix get_current_time_secs和create_file。这就引出了我的下一个要点:为什么有人想要cfsetospeed没有骆驼套的东西,或者至少要有下划线才能使之可读?当然,调用将包含更多字符,但是我们都知道代码的可读性更重要,对吗?
ls -la | grep将看起来像:listAllHiddenAndNormalFiles() | globallySearchARegularExpressionAndPrint()。