News for hackers. Stuff that matters.
Re:Software development topics I've changed my mind on after... by atq2119 on Wednesday February 05, 2025 @11:23AM (#42950802)
> will fail a code review over a variable that he feels isn't cased properly

Many projects have fairly strict rules about identifier naming conventions, so this doesn't feel so far fetched to me.

The example about if/else vs ? : is pretty damning though.

Re:Software development topics I've changed my mind on after... by mindcrime on Wednesday February 05, 2025 @01:08PM (#42952653)
Sure, but if there are actual rules, agreed to and accepted by the entire team (as opposed to one guy's idiosyncratic preferences) then there should be a commit-hook to run the code through a linter and reject the commit if the rules are violated.
Re:Software development topics I've changed my mind on after... by tisdadd on Thursday February 06, 2025 @12:11PM (#42964361)
Yes indeed. I'm a fan of getting the team to pick an already existing lint ruleset and then doing this. You can also set to only lint changed files if you want a gradual change over in existing codebase.