code style

Things I Learnt The Hard Way - Code Formatting Tools Are Ok, But No Silver Bullet

2 minute read Published: 2019-07-16

One thing a team may decide to fix the continuous flux of code style comments in a code review is to use a code formatting tool to auto-format the code. That's ok, but they should never rely on it.

Things I Learnt The Hard Way - Code Reviews Are Not For Style

1 minute read Published: 2019-07-16

When doing code reviews, do not focus on style; focus on design things that look a bit weird.

Things I Learnt The Hard Way - Code Style: Follow It

1 minute read Published: 2019-07-16

If your project have a defined code style, you must follow it. Sometimes it may not be clear ("this struct/class should be singular or plural"?), but do your best to follow it.

Things I Learnt The Hard Way - ... Unless That Code Style Is The Google Code Style

0 minute read Published: 2019-07-16

Every freaking time Google comes with their own coding style, it's a garbage fire. The community came with a better style way before and Google seem to come with a style with high contrasting parts just to call it theirs.