Timeline for Are there naming conventions for variables in shell scripts?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 31, 2023 at 2:01 | comment | added | Ezekiel Victor |
I believe we should steer clear of attempts to rationalize stylistic decisions (or opinions in general) because the rationale is usually tenuous and can swing either way with little effort. (Also, it polarizes people, often inciting religious wars and time wasted on immaterial issues.) Specifically in re: your reasons, camelCase does not preclude #2, and #3 is trivially mitigated by considering capitals as additional word boundaries. Re: #1, there is no reason why LOUD_SNAKE can't be used with camelCase—that is a common combination, the former often being for constants/globals.
|
|
| Sep 2, 2018 at 9:50 | review | First posts | |||
| Sep 2, 2018 at 10:26 | |||||
| Sep 2, 2018 at 9:46 | history | answered | isar | CC BY-SA 4.0 |