this post was submitted on 22 Feb 2024
31 points (94.3% liked)
Programming
17398 readers
107 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Personally, I've had an experienced manager and took great inspiration from him.
A few things I fell into:
I'm sure there were other things too, but these are the ones I mainly recall. Talk to your team, ask for feedback. Every team, project and company are different - you'll have to adapt.
I wish our current lead would read your post !
I think I couple of those points come down to the tech-lead to write a "Definition of Done"
1 - This is useful for junior members or new members to know what to expect. For example, "Definition of Done" would include that a new function should be documented, it should be refactored into clean code by the code standards, it should be tested by QA, there should be unittests covering the function, the function should be released to production to be marked as done - etc
2 - When giving managers that don't know anything about coding an estimation - either by you, or by someone in your team - they can take the Definition of Done" as a reference point. If a manager asks how long something will take, you don't just consider "Oh, I guess I can build this in a couple of days". Yea ok sure, you can build it to meet the managers minimal requirements for the function to kinda work but its messy code and untested - so if you keep in mind that there are loads of other meta-things to do besides just building code, you can pretty much double your initial estimation
Otherwise you just accumulate more and more technical dept, and at some point your "just build it" estimation gets inflated because for every change you have to touch lots of 1000 line files, figure out what broke by the changes, fix that, see what failed now, etc etc
And it would have been better in the long run if you would have spend more time on it while you were working on the function
I fell in the trap of the first two points and figured out that delegating tasks is really hard, as I usually can finish them faster.
But I am trying to protect my team and defend them in front of the upper management. It is okay for me to work overtime and not get compensated for that but it is not okay for them to do the same, as their salaries are lower.
You should also understand that different people have different skillset/interest and are more suitable for different tasks. It is really important to know your team and to be able to motivate them.
And don't forget to regularly check on them and show interest in their tasks. I am trying to create an atmosphere where we are all equal and we can all contribute to a task and I am also working along with them to show them a good example.
I obviously don't know your situation, but just remember you can't take care of others unless you take care of yourself first - you should not be overworked either.
Great point about being aware of the strengths and weaknesses in the team!
Fair point, my life is a bit fucked up at the moment and work is something I haven't managed to fuck up yet and at least gives me a bit sense of accomplishment and it keeps me busy of not overthinking and getting crazy.
I know this is a treacherous road which often leads to workaholism and I guess I am half there yet. But I am also having sometimes problems of concentrating on more mundane and boring stuff and I procrastinate and working overtime is making things square.
When you are young everything looks so much simpler and the older you get the more demons there are and life fucks us over big time or at least some of us. And the worst part is when you realise that there isn't anyone else's fault, that due to your own stupidity you are in this situation but there isn't coming back, you can't reload life and you should continue playing this game till the very end and try to get the best of it.
And you know what's even worse, that some people have it way worse than me and honestly speaking I don't know how they manage to cope. I am more or less privileged to be born in Europe and have a safe and more or less comfortable life that we all take for granted.
Sorry for the rant!
No worries!
I can empathise somewhat, I have burned myself out with work before. I have given myself anxiety by procrastinating my work and then spending time thinking about all the things I need to do and how I won't have the time instead of just doing it.. To the point that I struggled to sleep, which just made me even less productive. It's all a downward spiral, unfortunately.
I hope you get your life on the track you want it to be on!