Live data from Hacker News

Ask HN: How much code do you write in your job?

news.ycombinator.com

41–48 of 48 posts

Re: Ask HN: How much code do you write in your job?

#41
post #9

I work at a hedge fund, and I spent 98% of my time writing code. I usually work on 2-3 experiments simultaneously, and every day or two take 2 hours off to work on "zany schemes" -- moonshot type ideas that occasionally are very lucrative, and therefore justified time-wise. 1 meeting a week, for 1 hour. I work 3AM to 11AM, then about 12:30PM to 6PM on my side gig https://atomictessellator.com

How much can you get done in 2 hours for the zany schemes? Do you use any software methodologies?

it’s not solidly time boxed, sometimes it might be a whole day, if something is yielding positive results, everybody here is very senior so we all have a good intuition for which rabbit holes will yield

Software methodologies for the zany schemes? Not really, I prefer to do exploratory code inside the debugger (I wrote my own which has a bunch of extra extensions) and the others use Jupyter to riff freely, there’s no constraints when exploring

More engineering rigour goes into prod stuff

Re: Ask HN: How much code do you write in your job?

#42
post #34
post #8

Depending on the type of project, sometimes 70% of the time is programming and 30% is consulting with the team. Other times I do 60% design and 40% programming. It's project by project. For me, most projects are greenfield development. Some of them don't even come to fruition after weeks of designing and are lost. The main thing is to do your job the best you can.

How far into your career are you in? I imagine that it is frustrating to see your efforts go to waste.

I have been programming for over 20 years. I've developed everything from small in-house applications to systems in critical infrastructure... But the working mood and work deployment depends mainly on the setup of the internal company policy :)

Re: Ask HN: How much code do you write in your job?

#43
post #31

Earlier quoted context omitted.

Ohh I’m jealous of you. I dream of coming near that number this year on my personal projects. I’m in the market looking for something in the intersection of infra/systems programming. It has been tough to get interviews due to my location and experience, but I know I will manage to do it.

Don't give up! It took me a while to get things going too (I've been in the industry for 15-ish years and only started figuring out a bunch of stuff in the last few years.) Also, there are plenty of remote jobs that will happily do a B2B contract with you unless you are in one of the handful of countries that the US has problems exchanging money with. I can only speak from my experience, but what helped me land inter…

You really motivated me here. Thank you. I'm planning to getting into containerd and kubernetes.

I will have something to show for by the mid-year. I'm sure. Thank you.

Re: Ask HN: How much code do you write in your job?

#44
post #43

Earlier quoted context omitted.

Don't give up! It took me a while to get things going too (I've been in the industry for 15-ish years and only started figuring out a bunch of stuff in the last few years.) Also, there are plenty of remote jobs that will happily do a B2B contract with you unless you are in one of the handful of countries that the US has problems exchanging money with. I can only speak from my experience, but what helped me land inter…

You really motivated me here. Thank you. I'm planning to getting into containerd and kubernetes. I will have something to show for by the mid-year. I'm sure. Thank you.

Fun fact: I had only a rudimentary understanding of Kubernetes until 2020, but I had a fair bit of knowledge about containers. (Built an experimental container engine to learn.) Then I did 2 Kubernetes certifications and that got me up to speed (completely useless apart from the time spent studying). In the process I went and adapted Kelsey Hightower's "Kubernetes the hard way" to my then-employer's cloud offering with Terraform. It was super hard because everything was different, but totally worth it. Would absolutely do it again.

I built ContainerSSH at that time too to learn Go (look up the first versions, it's ridiculous how small they are) and then went to work for Red Hat with my new found knowledge.

Re: Ask HN: How much code do you write in your job?

#45
post #43

Earlier quoted context omitted.

You really motivated me here. Thank you. I'm planning to getting into containerd and kubernetes. I will have something to show for by the mid-year. I'm sure. Thank you.

Fun fact: I had only a rudimentary understanding of Kubernetes until 2020, but I had a fair bit of knowledge about containers. (Built an experimental container engine to learn.) Then I did 2 Kubernetes certifications and that got me up to speed (completely useless apart from the time spent studying). In the process I went and adapted Kelsey Hightower's "Kubernetes the hard way" to my then-employer's cloud offering wi…

Ohh the more you write the more inspiring it gets. You cleared my thoughts towards what to do, I'll act on it. I checked you website and OSS work, really good stuff

Re: Ask HN: How much code do you write in your job?

#46
post #30

Nearly 100%, the other time is spent planning tests, discussing new features with users. I probably spend 90% of the time actually coding.

Are you self employed or working for a company?

Technically, self-employed but working entirely for one company.

Re: Ask HN: How much code do you write in your job?

#47
post #26

I'm doing the CTO thing for a I come from a history of being an individual contributor (15 years of that) and I would say overall as I've gotten more senior in my positions I've done less coding as a % of my time, but the coding that I have been doing is individually more impactful or sensitive. The non-coding part of my time has gone more into mentoring, reviewing, design, business discussions & goal setting, policy…

I’m sure that being an IC for 15years helped you develop the technical sharpness that allows you to make decisions and do deep dives occasionally. I want to be in the 70-90% of coding now because as I improve and move up I will not have had a stretch of deep programming experience. If you can think of anything, what would you advise me to do?

My team is pretty small right now so yes I do end up doing a fair amount of technical decisions but at my last spot, I was more of a head engineer over groups of engineers and I really need to learn to let the teams below me make their own technical decisions only stepping in when there was a conflict, they were explicitly asking for guidance, or in a few rare cases where I could see they were clearly going down a wrong a road.

I think I would need a bit more information about your current seniority and skill levels before I could give you more specific direction. There is always the default answer if you want to move up higher that communication skills are important, and that's true but what I don't see as often is developing the skill to let decisions go and to not only find ways to live with them but actually accept those decisions and move forward with them.

Absolutely speak up if you disagree, and communicate clearly the prior experiences that is helping guide your decision. Talk about your assumptions and where you think future pitfalls might be. If your team or manager decides to go down a road you don't agree with or don't think is optimal... Let it go. Work with it. Try and accept that as a path forward and embrace it. You might not have the full picture, it might be a legitimately better strategy, or you might be right. In any of those scenarios though fighting against the current, trying to go rogue to prove your path is correct. Those will only lead to ill-will. If it does turn out to be the wrong path, don't play the "I told you so card", take the high road and just move forward.

A lot of engineers, myself included, look back at prior decisions more than looking forward. Reflection is important, and lessons can be learned but we're there to build things, not be right all the time. The bigger your team the bigger and more intense things you can build, but only if you're all working with the current of development.

The more you work with your team, the more they trust you and as you gain in seniority you will have a peak of silent "I told you so moments", that's usually when I've found it was time for me to go up to the next level of seniority as its probably time to start mentoring the people around you.

None of this is about getting more coding time, but I don't think I've ever really optimized for that. Maybe think about what you're trying to get out of that coding time. Maybe what you're actually looking for is unbroken focus time, that I have optimized for but also involves working with your team. Communicate with your team that you would like more focus time, propose things like protected afternoons (meetings only in the morning) or meeting free days (I've found Tues/Thurs usually work best for this).

If you provide me with a bit more detail I might be able to give less general advice.

Re: Ask HN: How much code do you write in your job?

#48
post #26

Earlier quoted context omitted.

I’m sure that being an IC for 15years helped you develop the technical sharpness that allows you to make decisions and do deep dives occasionally. I want to be in the 70-90% of coding now because as I improve and move up I will not have had a stretch of deep programming experience. If you can think of anything, what would you advise me to do?

My team is pretty small right now so yes I do end up doing a fair amount of technical decisions but at my last spot, I was more of a head engineer over groups of engineers and I really need to learn to let the teams below me make their own technical decisions only stepping in when there was a conflict, they were explicitly asking for guidance, or in a few rare cases where I could see they were clearly going down a wr…

I’m currently a mid-level SRE engineer cornering the senior level. My goal is to reach the principal/distinguished levels.

I’ve found myself in the I told you so moments in my team and have had an informal heads-up about a promotion. It’s too soon to even be talking about this, but I hope it gives you enough context as I’m looking forward to you advice because your last comment was really really good. Thank you for taking the time.

I’m not in Silicon Valley or any other tech hub, I’m in a small country in Africa and want to put a dent in the engineering world. A cliché I take very seriously :).

Post reply on HN