News for hackers. Stuff that matters.
Re:CamelCase vs. Underscores: Revisited by tredre3 on Wednesday January 25, 2023 @06:56PM (#34525946)
> Unless we're in a language without a standard (cough cough PHP cough cough)

Frameworks, IDEs, and linters all follow the PSR-2: https://www.php-fig.org/psr/psr-2/ .

It is indeed common for new developers to not know or care about it, but most professional shops I've been to adhere to it unless they're working on very legacy code.

Re:CamelCase vs. Underscores: Revisited by jjice on Thursday January 26, 2023 @10:17AM (#34532674)
Huh, thanks for the link. I swear that when I read that document (or a similar PSR) about a year ago, it specified that it didn't take a stance for method names (or maybe regular function names). I wonder why I thought that or if I read it someone else.

Thanks for that.