A compilation of quality coding tips that I learned as a Google Engineer.
Coding Newsletter: thecommit.dev
00:00 Introduction
00:47 Follow a coding standard
01:31 Name things well
02:28 Use early returns to reduce nesting
03:57 Name your numbers
04:45 Write unit tests for logic, not what the compiler can check
05:54 Use comments to describe WHY the code was written
07:05 Keep functions and classes small and focused
07:44 Balance the DRY and WET principles
08:49 Err on the side of small pull requests
09:29 Don't obsess endlessly over the craft
10:29 Conclusion
Social:
LinkedIn: / kanadachi
Instagram: / kan.adachi
Twitter / X: / kan_adachi
Негізгі бет 10 Coding Tips From A Google Engineer
Пікірлер: 15