News for hackers. Stuff that matters.
Re:Ask HN: Are most of us developers lying about how much wo... by omnicognate on Thursday December 16, 2021 @01:13PM (#29581606)
Software development isn't a matter of sitting down and generating a fixed amount of code per hour. The rate of writing code is hugely variable. It's not unusual for most of my "productive" (as in typing actual code) time to be concentrated in a few particular days in a month. The time not spent typing (or being in meetings, doing admin, etc) isn't actually "unproductive" though. It's mostly spent solving problems, and a lot of that effort happens below the level of consciousness. A lot of it actually happens during sleep. It's effort, though, and it costs. You can't do an infinite amount of it in infinitesimal time.

I suggest 2 tests to see if you're lazy or dumb:

1. Try to be more productive by sheer effort of will. Just say to yourself "this month I will write more code than usual" and set to it with a positive attitude. If you succeed you were being lazy and now you know how to not be lazy. If, as is more likely from what you've said, you fail, then you're not lazy. You're working at your maximum capacity but you have a poor understanding of what constitutes "work" in the job you do.

2. If, by the above test, you are not lazy, then look at how well you do relative to your peers. If you're holding your own (as you say you are), you're not dumb either.

Re:Ask HN: Are most of us developers lying about how much wo... by khazhoux on Thursday December 16, 2021 @05:37PM (#29584939)
> Software development isn't a matter of sitting down and generating a fixed amount of code per hour. The rate of writing code is hugely variable... The time not spent typing (or being in meetings, doing admin, etc) isn't actually "unproductive" though.

All true statements, but that's not what we're talking about. OP recognizes that he works 5-10 hours a week, and effectively blows the rest of the day off.

Reminds me a bit of an engineer who reported to me a few years ago. He would describe every week in our 1:1s and during team meetings how he was solving this tough thread-synchronization problem. Because we trusted each other, we trusted that the problem was difficult. Then when he finally submitted his code, it was a single line. A single trivial line (as in, read the python `multiprocessing` docs for 5 minutes and the solution is right there). OK... sometimes it can take a long time to find that one-line fix, I get it. But then I looked into his commit history, and it turns out he was averaging a few lines of code a week -- on a good week, and sometimes even zero. When I confronted him, he said "You can't measure my productivity by lines of code!!!" OK, sure, but how far am I supposed to excuse an engineer who has committed 100 lines of code in 10 months? What a statistical oddity, that every single task he took on turned out to be a single-line-fix dragon!

Re:Ask HN: Are most of us developers lying about how much wo... by omnicognate on Thursday December 16, 2021 @05:56PM (#29585165)
I don't disagree, but I never said there was no such thing as slackers or that OP definitely isn't one. I provided a test to tell if they really are one or not.

The point I'm making is that some people in our profession think they are slacking when they're not, for the reasons I described. OP's description doesn't convince me that they necessarily are. In particular the comment at the end about having spent the years prior to the pandemic "pretending" to themselves that they were working hard sounds to me like somebody who's never really understood their own mental processes and has encountered a different perspective by doing the job in a different environment. I might be wrong, but that sounds more likely to me than that they have been getting away with minimal contributions throughout what they describe as a 20 year career. Your report didn't get away with it - the evidence is always there in the commit history, and the 2-5 year job length OP mentions is, contrary to their assessment, plenty of time to judge a developer's productivity.

Another hint is the fact that this person is seriously proposing the idea that everybody else is slacking off and lying too. This indicates that they don't think their actual output is less than other developers'.

As I say, I may be wrong. I don't know this developer - these are just some thoughts based on what they've posted. Unlike some here I'm not assuming I know the truth.

Re:Ask HN: Are most of us developers lying about how much wo... by mnrmen on Friday December 17, 2021 @02:56AM (#29589191)
I am in a similar position as OP. I do 15-20 hours of work and watch Twitch or YouTube the rest of the time. I am a lead dev at a startup and developed one of their main products. I have always implemented every feature in a few days or less. Bug fixes usually take 30-45 minutes. Meanwhile another lead dev, who handles the development of another product, takes at least 2 days to fix a simple bug, and 1-2 weeks to implement a simple feature.

Personally I don't see why I should be overworked if I get all of my stuff done in a short amount of time. Plus because I feel guilty I am always available on Slack and answer or even code on demand if somebody really needs it.

I sense that higher ups look at me as a hard worker and a good employee, but if only they knew the thruth. But if I was forced to work a lot more I would probably quit.

Re:Ask HN: Are most of us developers lying about how much wo... by omnicognate on Friday December 17, 2021 @05:14AM (#29590185)
Yeah, that's the common mindset. You feel that you're slacking off, and you feel "guilty" about it, but you have a successful career and describe the prospect of doing more than you do as being "overworked" to the extent that you may have to quit.

There's nothing noble about burning out.

Re:Ask HN: Are most of us developers lying about how much wo... by goodpoint on Thursday December 16, 2021 @09:05PM (#29586861)
> how far am I supposed to excuse an engineer who has committed 100 lines of code in 10 months

The problem is poor understanding of an employee's performance. Squarely on the management side.

Re:Ask HN: Are most of us developers lying about how much wo... by la6471 on Thursday December 16, 2021 @08:24PM (#29586533)
Good programmers by definition are lazy - Ancient wisdom circa 1980
Re:Ask HN: Are most of us developers lying about how much wo... by icedchai on Friday December 17, 2021 @11:59AM (#29594882)
1) How did you let this go on for 10 months?

2) If it was so easy to fix, why didn't you do it yourself? Too many meetings?

Re:Ask HN: Are most of us developers lying about how much wo... by khazhoux on Friday December 17, 2021 @08:05PM (#29600364)
1) He was on another team the first 6-7 months of that. He was transferred to me on account of previous project being wrong area for him (it required domain knowledge he didn't have and didn't pick up). His former manager had worked with him before, so we gave him benefit of the doubt. After a few weeks of ramp-up on my team, he started giving me productive progress updates throughout every week. "I spent all week debugging such-and-such. I spent half the week helping Joe debug a problem", etc. He was very nice and external signs were fine. Then I saw his actual code was minimal, and sadly I learned that the engineers he kept telling me he was busy helping (which would be super valuable work) weren't actually getting that help -- he'd occasionally answer a question, or spend 15 minutes looking over someone's shoulder.

2) A guy on my team is repeatedly telling me he's on the verge of solving a tough problem, and then I take a look at his code and discover it was a trivial issue all along. No, the answer was not that I should have jumped in earlier and taken over the bug myself.

His story ended by being put on a performance plan, which he failed, and then we let him go. At the end of the day, though, he could very likely have stayed with us, if he just accepted my feedback that his productivity was far lower where it should be, and lower than all his peers. He refused to hear it. "You can't measure my performance based on LOC!" Correct, but the LOC was the first clue that he was delivering nearly zero value.

The reason I even told this story to begin with was because some developers somehow tell themselves that they're super productive despite barely checking in any code. By and large, that can't be true.

Re:Ask HN: Are most of us developers lying about how much wo... by mrozbarry on Thursday December 16, 2021 @02:19PM (#29582545)
I think this 2-question test is very accurate.

To add to this, even if for a time, you can increase your productivity, sometimes that's not sustainable. There's nothing wrong with having ebbs and flows. On days when you have a larger workload of smaller tasks, you may find yourself to be incredibly productive, and days when you have smaller workloads, or larger tasks, and you may be less productive.

The thing is, if your boss is happy with your pace and work, then why be worried? It is literally your boss's job to notice if you aren't pulling your weight, and to ensure you are compensated fairly for your work.

The work-place hierarchy (hopefully, and usually) is set up so you don't have to govern whether you are working at the proper pace, that is the problem of your superiors, it's only up to you to accomplish the tasks you are given, or give advice about those tasks if they are wrong.

Re:Ask HN: Are most of us developers lying about how much wo... by shinryuu on Friday December 17, 2021 @04:11AM (#29589724)
It's certainly not your boss's job to ensure that you are compensated fairly.
Re:Ask HN: Are most of us developers lying about how much wo... by icedchai on Friday December 17, 2021 @12:01PM (#29594904)
Often the opposite. They get kudos for keeping costs down.
Re:Ask HN: Are most of us developers lying about how much wo... by mrozbarry on Friday December 17, 2021 @01:46PM (#29596481)
Perhaps I worded that a little badly. They are responsible for making sure you are getting paid, or if you get fired.
Re:Ask HN: Are most of us developers lying about how much wo... by throwaway254370 on Friday December 17, 2021 @03:50AM (#29589582)
I see myself very much like the person in the original question.

For me, I try to do put in sheer effort on a regular basis. It is just that more day than not, I just can't bring myself to do it. I end up spending more time berating myself for not working, slacking off, writing this answer on HN, etc, than actually working.

The sad (or perhaps enlightening?) thing is that it has always been like this. Since school, I would always do work at the last possible second. The only save is that I actually do a good job at the end, so it goes unnoticed. But the process is excruciating, and looking back at week after week of something like 5-10 hours per week is frustrating.

Like the original question, I also "lie" in standups. I get why people say it is unethical, but I can't bring myself to saying I wasted the whole day yesterday on reddit.

Re:Ask HN: Are most of us developers lying about how much wo... by throwaway934876 on Friday December 17, 2021 @05:05AM (#29590130)
Same here, I really recognize this. There are times I really peak. Most times I really don't do much. I don't lie in startups really, maybe I'll say I'm working on something when I just opened a doc and glanced at it. Which is lying, ok... But I do often finished the work in time, but just in very intense sprints.

I recognize a lot in this thread.

Re:Ask HN: Are most of us developers lying about how much wo... by dragon96 on Thursday December 16, 2021 @09:34PM (#29587009)
For me, I think I could tell myself to be more productive for 1 week and succeed at it, but I'd feel a lot more stressed or cynical about work as a result. I feel I'ma lazy person because I know I'm not doing what I could when I try my best, but I also feel wellbeing and health is more important in the long run.
Re:Ask HN: Are most of us developers lying about how much wo... by soneca on Thursday December 16, 2021 @01:45PM (#29582094)
Well, they said they don’t do anything some days and bullshit their way to the next standup. It is clear to me where they stand at.
Re:Ask HN: Are most of us developers lying about how much wo... by jjav on Thursday December 16, 2021 @05:15PM (#29584746)
> Well, they said they don’t do anything some days and bullshit their way to the next standup. It is clear to me where they stand at.

But it's the agile standups that force the bullshitting. If you spent a day background thinking of best ways to achieve the goal while resting in your backyard hammock, there's no way you can say that out loud at the standup. So you're forced to come up with some random bullshit to fill your standup minutes.

That's why daily status reports are so incredibly toxic in any creative or intellectual field. Progress doesn't happen in neat daily chunks like that.

Re:Ask HN: Are most of us developers lying about how much wo... by soneca on Thursday December 16, 2021 @06:12PM (#29585321)
> ” If you spent a day background thinking of best ways to achieve the goal while resting in your backyard hammock”

There is absolutely no part of OP that warrants this charitable interpretation. My interpretation is that they just spent the day playing video game or something like that. You are reading things that are not there

Re:Ask HN: Are most of us developers lying about how much wo... by ninjanomnom on Thursday December 16, 2021 @08:37PM (#29586656)
Playing video games for many people is exactly as relaxing as hanging out in a hammock, with all the same background processing. I see no difference here between the hammock and video games here, it just depends on the person.
Re:Ask HN: Are most of us developers lying about how much wo... by Twisol on Thursday December 16, 2021 @10:34PM (#29587366)
For me, there have been many times when I've been playing Rocket League in almost a fugue state, where I'm only half paying attention to the game. (Like how you can drive for a while in your car in a half-daydream, and snap back to reality and wonder how you missed so many miles going by without getting in an accident. If you've never experienced it, yes, it's a thing; no, it's not epilepsy.)

I tend to make a lot of progress just organizing my thoughts during those times; it's like the act of doing something else distracts the part of my brain that would get in the way of the processing I needed to do otherwise.

Strangely, I also tend to play Rocket League pretty well, even though I'm not fully focusing. Again, probably something about just doing vs. thinking about how to do.

I don't switch off from work very well, though, so this invariably happens when I should be enjoying my personal time but I'm still thinking about work. The exact opposite situation from the OP's.

Re:Ask HN: Are most of us developers lying about how much wo... by loup-vaillant on Friday December 17, 2021 @08:14AM (#29591645)
Re:Ask HN: Are most of us developers lying about how much wo... by azinman2 on Thursday December 16, 2021 @10:45PM (#29587450)
Sounds extremely charitable to me. There is no indication from the OP they’re solving crazy hard problems requiring a ton of thought, or that they’re actually thinking about said problems while goofing off.

It just sounds like they’ve managed to get enough done to get by, and continue skating like this. I’ve seen quite of few people do this professionally. It’s just important to be honest about it.

My guess is there’s a motivation problem, which may be from the job itself, or something else.

Re:Ask HN: Are most of us developers lying about how much wo... by shawnz on Friday December 17, 2021 @01:21AM (#29588569)
Aren't the positive performance reviews such an indication?
Re:Ask HN: Are most of us developers lying about how much wo... by soneca on Friday December 17, 2021 @08:53AM (#29592093)
I don’t think so. I just think they are a bullshit artist. Where is that very critical HN opinions of extrovert MBAs that don’t or know do anything, but keep getting promotions because they are good at bullshitting? Suddenly if it is a fellow engineer doing the same they are actually “working in the back of their minds in very hard problems”? How convenient.
Re:Ask HN: Are most of us developers lying about how much wo... by shawnz on Friday December 17, 2021 @09:29AM (#29592599)
I've never posted anything like that, and there are plenty of critical posts in this thread from others regardless.
Re:Ask HN: Are most of us developers lying about how much wo... by azinman2 on Friday December 17, 2021 @12:53PM (#29595646)
They said they range from mediocre to positive. We don’t know what the bar is where they work, but it seems they’re just barely meeting it. Imagine if they actually worked a whole week, every week!
Re:Ask HN: Are most of us developers lying about how much wo... by denkmoon on Thursday December 16, 2021 @08:49PM (#29586751)
>My interpretation is that they just spent the day playing video game

>You are reading things that are not there

you too???

Re:Ask HN: Are most of us developers lying about how much wo... by blitz_skull on Thursday December 16, 2021 @05:24PM (#29584828)
Which is where?

If they deliver X, and the expectation is X; OP may call it "bullshitting" but his point is that he's delivered expectations and now he's coasting which is totally fine. He delivered on expectations.

Re:Ask HN: Are most of us developers lying about how much wo... by soneca on Thursday December 16, 2021 @06:15PM (#29585352)
> ” If they deliver X”

What make you think they deliver? Certainly not the OP.

I think everyone is reading OP as an “anti-agile champion”, a “hero against meaningless jobs”, but the way I read it they are just a lazy person lying their way around to trick companies into paying them for work that they are not doing. At all. Not even willing or trying to do. Just lying to people.

Re:Ask HN: Are most of us developers lying about how much wo... by blitz_skull on Friday December 17, 2021 @01:00AM (#29588432)
All I can speak from is observation and experience. And in both, I have never worked under a manager so stupid that they can’t spot laziness.

To be honest, if you’re a manager who can’t spot incompetence or laziness, then you deserve every bit of it. Same with upper management who hires managers who can’t spot incompetence. It’s really not hard at all. I don’t get why OP is the bad guy when he literally meets ALL expectations per their manager’s own words.

Re:Ask HN: Are most of us developers lying about how much wo... by mmsimanga on Sunday December 19, 2021 @06:08AM (#29613032)
Maybe the problem is the need to have feedback at the stand up. This assumes writing code is linear and is something that can be routinely managed through a stand up.