Hello friends, I have been writing code since 8 years now. I have worked in different areas, web, IT services, operating systems, distributed systems, etc. What I have learnt is that there is no uniform best practice and every technology company has their own set of how one should write software. I am entering my 30s now in a couple of months and would like to learn if I can read a book or contribute to an open source or something else to understand if there is one right way to write really good software? Could someone help as I am looking for validation to do things the right way. I am looking to create a generic mental model or a framework that I can apply in any context. TC 150
The best way is the best way that works for a team. Whatever it is
The real answer here is that the specific model will vary but the really important part is to automate it. Got a coding style? Make a formatter that people can just run. Got requirements on test cases? Make it a precommit hook or automate it through code review before humans have to look at it (CI bots). And automate testing.
Hey, can you elaborate more on the test cases requirements? May be an example would help.
> is there one right way to write good software. NO. Tc >> 150.
imo you know you have matured when you begin to think about the trade offs between different choices. Right now, you say you want to look for The Best solution -- this doesn't exist. You need to face many situations, try different solutions, see which ones fit which situations, etc