|
|
|
|
|
by pdimitar
1790 days ago
|
|
You already got a very solid reply. I'll add only one prescription that I found true in all my ~20 years of career: Write code in a way that everybody can understand it, even managers. That's it. There's no magic. Code is read MUCH more often than it's written. You have to optimize for it being readable. This does NOT mean the shortest possible code. I've seen people go to that extreme and it never ends well. But it also doesn't mean every variable has to be called "user_in_a_context_of_private_temporary_login" either. Truth is, writing understandable and readable code as a skill goes well beyond programming. You will find the same skill in well-articulated presenters, book authors and lawyers. So just this one advice should be your guiding star: write your code as if you will have a stroke tomorrow and will suffer amnesia and you would still be able to understand your own code very quickly afterwards. |
|