namesny-com/content/blog/coding_style

16 lines
606 B
Plaintext

---
title: "Coding style"
draft: true
---
I had a few interviews where I was asked about my coding style. I wasn't sure how to respond. I'm not following dogmatically any one coding principle such as Clean Code or TDD. Coding standards are hard, thats why there are so many books about it. I pick and choose the ideas and try to follow those in my code.
I would be surprised if I follow the same ideas in 5 years. The style is evolving and my opinions change.
Here are ideas that I currently follow:
- never nesting
- early return
- fight abstractions
- grugg brained dev
- don't repeat yourself thrice