Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Yep. Method names make terrible comments. No spaces, hard to visually parse, and that's before acronyms and ambiguity enter the conversation.

Which is why snake_case or kebab-case (if the language allows it) is much better than PascalCase or camelCase.

Even worse when camelCase enters into JSON because people want to automate the serde but are too lazy to make the actual interface (the JSON Schema) easy to read and debug.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: