News for hackers. Stuff that matters.
Re:The care and feeding of software engineers, or why engine... by ledauphin on Saturday November 23, 2019 @04:51PM (#21616840)
One thing this essay doesn't weave together, despite bringing up a lot of the threads, is that timelines for upcoming work are often estimated based on the (unrealistic) assumption that "you're going to leave me alone for long enough to get it done", which never happens.

Instead, days get filled with discussions about future work, rehashes of previous discussions, identifying the bugs that junior developers have written, trying to convince management that the latest customer complaint has more to do with the fundamental laws of physics (e.g., network bandwidth limitations) rather than any actual issues with the software, etc...

All of these are part of the job, but the conception of developers as "builders" worsens the issue because management does fundamentally believe that we spend most of our time "coding" when that couldn't be farther from the truth. And since we also want to imagine our days as filled with productive programming, we feed right back into the lie.

Re:The care and feeding of software engineers, or why engine... by drewbug01 on Saturday November 23, 2019 @08:17PM (#21617716)
> identifying the bugs that junior developers have written

Bugs are written by all seniority levels of engineers. “To err is human,” after all. Junior developers hold no monopoly on mistakes.

Re:The care and feeding of software engineers, or why engine... by Kalium on Saturday November 23, 2019 @10:16PM (#21618119)
If anything, it's been my experience that the bugs from the junior devs are often more obvious and easier to fix. Any junior dev can make a minor logic error. It takes a senior dev to mis-architect a whole system.
Re:The care and feeding of software engineers, or why engine... by Aeolun on Saturday November 23, 2019 @11:28PM (#21618354)
Junior devs can absolutely mis-architect a system if you give them enough leeway because they’re described to you as senior developers.
Re:The care and feeding of software engineers, or why engine... by jkoudys on Sunday November 24, 2019 @05:15AM (#21619470)
True, but there's no award for how obvious the average bug is. I've also found we often reach huge problems after being distracted by a bunch of minor sloppiness. Submit a PR that has a serious flaw in it, but is otherwise top-quality, and people may find that flaw. Submit the same PR, but name every variable "data" or "value", change every constant to an uncommented magic number, and cram in some jQuery functions even though it's deprecated in your project, and reviewers will happily point out all those things while completely missing the serious flaw.
Re:The care and feeding of software engineers, or why engine... by rurban on Sunday November 24, 2019 @02:04AM (#21618897)
Normally it's the mid-level dev who mis-architects a system. It's called overarchitecturing. Seniors rarely overarchitecture.
Re:The care and feeding of software engineers, or why engine... by watwut on Sunday November 24, 2019 @03:07AM (#21619072)
Seniors both over architecture and underarchitecture.
Re:The care and feeding of software engineers, or why engine... by rriepe on Sunday November 24, 2019 @03:22AM (#21619113)
Yeah, I've found this to be more of a personality thing. Seniors just learn more tricks to get away with whichever way they lean.
Re:The care and feeding of software engineers, or why engine... by dmm on Saturday November 23, 2019 @08:43PM (#21617819)
>> identifying the bugs that junior developers have written > Bugs are written by all seniority levels of engineers.

Sure but the Senior devs are too arrogant to ask for help ;)

Re:The care and feeding of software engineers, or why engine... by to11mtm on Sunday November 24, 2019 @09:26PM (#21624968)
Sounds more like a mid level dev.

IME Seniors aren't afraid to ask for help when it makes sense to.

Re:The care and feeding of software engineers, or why engine... by ledauphin on Monday November 25, 2019 @07:47PM (#21634597)
Of course! But I'm addressing how senior developers spend their _time_. They don't often spend lots of time helping with bugs written by other senior developers.
Re:The care and feeding of software engineers, or why engine... by drewcoo on Saturday November 23, 2019 @08:28PM (#21617760)
You can solve that problem honestly or not so honestly. I've worked in places where everyone knew to pad their time without telling the non-dev in the room. I've been happier with also estimating the ratio of time you spend doing tasks. Someone more senior should intend to spend less than 100% of their time on those tasks.

Both of those work better than ignoring overhead or refusal to estimate, imho.

Re:The care and feeding of software engineers, or why engine... by JimboOmega on Saturday November 23, 2019 @11:50PM (#21618428)
I don't think there's anything dishonest about estimating a task discounted for all the random org noise.

It is annoying when your boss balks at your estimates using productivity when everything goes smoothly and there are no interruptions as the benchmark, though.

Re:The care and feeding of software engineers, or why engine... by pfranz on Saturday November 23, 2019 @08:27PM (#21617751)
I thought the article broke down those things rather well. It talks about how detrimental context shifting is, shifting priorities. In the part about how poor time estimates are, "No time is put in for meetings to go over requirements and make changes," not time is accounted for bugs, or the learning part about solving a problem.
Re:The care and feeding of software engineers, or why engine... by losteric on Saturday November 23, 2019 @08:52PM (#21617851)
Measuring and optimizing bottlenecks is a core agile idea.

My team's process is to estimate and track dev non-dev time with our other sprint metrics at dev-day granularity. ie last sprint I estimated 2 non-dev days for product / design discussions, factoring in the meetings/doc writing/cost of mental randomization/etc. Planning and retrospective provide opportunities to reflect on reducing communication overhead within the team, and the metric is valuable for pushing back on top-down management-mandated overhead.

Re:The care and feeding of software engineers, or why engine... by PretzelFisch on Saturday November 23, 2019 @07:41PM (#21617578)
I tell people now the estimate is for a week of work but I am coding 20% of the day...
Re:The care and feeding of software engineers, or why engine... by Buttons840 on Saturday November 23, 2019 @07:59PM (#21617652)
... and what they hear is "I promise it will be done by next week".
Re:The care and feeding of software engineers, or why engine... by pfranz on Saturday November 23, 2019 @08:46PM (#21617833)
It just depends on where and how you want to spend your time. I've "micro-managed" myself to prove the point. I gave them that estimate up front--told them this was assuming I had dedicated time to work. After a week or two I went back at them with how much time I had spent, how far along, and if I was above/below my estimate. Only then did they push to clear my schedule so I could get the hours in.

The problem is that is a huge time-suck and they don't really care about the minutiae either. For me the whole goal is to keep the responsibilities clear and unnecessary communication to a minimum and I feel like that's done by building trust and being clear.

Re:The care and feeding of software engineers, or why engine... by amelius on Saturday November 23, 2019 @08:17PM (#21617715)
Yes. And the problem of giving more realistic planning is that management will say: "but [insert name of random coworker] can do it in half of that time!" Of course that coworker is dealing with the same problems as you do.
Re:The care and feeding of software engineers, or why engine... by dmz73 on Monday November 25, 2019 @02:44PM (#21631976)
It may not be so much assumption that about being left alone but instead requirement to quote the time that will be used for billing. You can't pad that, it will be 20 days of work that client should pay for but that 20 days may be spread over next 3 months. Problem is that neither management or client hears that part even when they are repeatedly told multiple times.
Re:The care and feeding of software engineers, or why engine... by _raoulcousins on Tuesday November 26, 2019 @11:15AM (#21639572)
I'm always explicit when asked for an estimate. It's not the most political or business savvy answer, but I say things like "this will take 2 hours. On average I'll have two hours of focused time per day, so 10 days."
Re:The care and feeding of software engineers, or why engine... by overdrivetg on Tuesday November 26, 2019 @03:35PM (#21642413)
sorry for pedantry but you do mean "this will take 20 hours", yes?