News for hackers. Stuff that matters.
Re:Ask HN: What do top engineers you know do that others don't? by tetek on Tuesday December 24, 2019 @06:04AM (#21871206)
1. Don't bitch about legacy software

2. Are willing to help with getting proper requirements

3. Don't need a JIRA task for everything

4. Don't say they are done if something is untestable

5. Are willing to do stuff other than their skill (eg. one of the graphics required for the project is too big, top engineer opens up gimp, resizes and continue. Bad engineer will report to manager that design team did shitty job, reassign JIRA ticket, write two emails and wait for new a graphic)

6. Top programmers deliver well packed, documented software, keep repository clean with easy setup steps accessible for everyone.

7. Top engineers enjoy what they do, and are making the project enjoyable for everyone, keep high morales and claim responsibility

Re:Ask HN: What do top engineers you know do that others don't? by AllegedAlec on Tuesday December 24, 2019 @09:55AM (#21872402)
> 3. Don't need a JIRA task for everything

Genuinely asking: how so? Tickets are not just some bit of bureaucracy, they are also a living log of what has been done and why that thing was done.

Re:Ask HN: What do top engineers you know do that others don't? by bpodgursky on Tuesday December 24, 2019 @10:12AM (#21872515)
My personal heuristic: if it is worth doing, and it takes less than an hour -- just do it now. Organize your team so engineers feel free to knock off quick tasks at their discretion.

If you try for an hour and it's still not done -- make a ticket.

There's nothing more annoying than seeing the same trivial task get shuffled around 4 sprint planning meetings, taking mental overhead from 8 people.

And nothing comes out of sprint planning with less than a quarter day allocated. You've turned a 20-minute task into a whole day of wasted effort.

Re:Ask HN: What do top engineers you know do that others don't? by AllegedAlec on Tuesday December 24, 2019 @10:29AM (#21872632)
> My personal heuristic: if it is worth doing, and it takes less than an hour -- just do it now.

Sure, but that doesn't mean you can't create a ticket for it. It just means that you have tickets which fall outside your sprint planning flow.

Re:Ask HN: What do top engineers you know do that others don't? by lawn on Tuesday December 24, 2019 @11:12AM (#21872944)
Some of us are lucky enough to not have a sprint planning flow, and we can have a lot of leeway how we plan our time, which doesn't require tickets.

You can create tickets for every small thing, but it might not be very efficient.

Re:Ask HN: What do top engineers you know do that others don't? by viklove on Tuesday December 24, 2019 @11:36AM (#21873119)
You can also just create 1 ticket with a bunch of small things.

The devs on my team are encouraged to move tickets around and plan their time however they want, but JIRA allows our product, design, dev, and qa teams to coordinate without being in the same room every day. It's just another form of async communication that helps us make sure we're shipping everything we promised, and fixing all critical bugs before the end of the week.

Re:Ask HN: What do top engineers you know do that others don't? by lawn on Tuesday December 24, 2019 @01:50PM (#21874081)
Yes, it's basically the same for us as well. And we do group together smaller things into one ticket often.

For us tickets are most important to track what gets included in releases and patches, and to tell QA to test our branches (and we almost always require QA to test our branches before they're merged).

Re:Ask HN: What do top engineers you know do that others don't? by bpodgursky on Tuesday December 24, 2019 @11:08AM (#21872909)
My point is that the overhead of writing up a ticket description becomes a significant fraction of the total work involved. Write a commit message if you want it documented.

There's no need for a ticket for small tasks, unless you are being evaluated on number of tickets closed (which is a separate problem)

Re:Ask HN: What do top engineers you know do that others don't? by ropman76 on Tuesday December 24, 2019 @08:47PM (#21876181)
Like all things in life it depends on the team and workflow. I have my PM’s make tickets because many times I am in the middle of a different feature or bug and don’t want to have to have the mental load of remembering what the issue was. Secondly I work with very solid PM’s who document the ticket very well and it saves me time having to reproducing the issue. My team does have a lot of tickets but we make it work for us and our process flow.
Re:Ask HN: What do top engineers you know do that others don't? by greenyoda on Tuesday December 24, 2019 @04:42PM (#21875094)
On the other hand, being forced to write something up gives you extra time to think about what you're about to do. I've had many experiences when I was about to commit what I thought was a trivial change to the code, but then suddenly realized that it was going to break something.
Re:Ask HN: What do top engineers you know do that others don't? by viklove on Tuesday December 24, 2019 @11:37AM (#21873127)
> if it is worth doing, and it takes less than an hour -- just do it now

Huh... you've never had 10 things that are worth doing that take less than an hour? Or did you just line them up and work 10 hours that day?

Re:Ask HN: What do top engineers you know do that others don't? by tracer4201 on Tuesday December 24, 2019 @12:02PM (#21873315)
Just do it now maybe works on small projects, but large projects that span multiple teams and stakeholders typically have enough little tasks to complete that “just do it” might be referring to 1 of 50 different things.

You need some way to prioritize and work against those priorities, typically measuring impact or some variation of ROI.

Re:Ask HN: What do top engineers you know do that others don't? by petepete on Tuesday December 24, 2019 @10:18AM (#21872557)
I totally agree with this, providing your team is strong and motivated enough. As a contractor, this is usually the case for me, but definitely not always.
Re:Ask HN: What do top engineers you know do that others don't? by thisone on Tuesday December 24, 2019 @10:06AM (#21872484)
I use tickets to offload my memory and ideas for later thought.

And as bonus points it can effectively prevent people from gobbling up only the work they want to do and leaving the shit for everyone else.

Re:Ask HN: What do top engineers you know do that others don't? by haecceity on Tuesday December 24, 2019 @01:46PM (#21874049)
I have my own todo list independent of the bug tracker.
Re:Ask HN: What do top engineers you know do that others don't? by tmaly on Thursday December 26, 2019 @12:00PM (#21885091)
I think having a ticket also helps coordinate things if your working between global offices. Also, having a ticket helps others pickup if your out of the office. This has saved my team many times.
Re:Ask HN: What do top engineers you know do that others don't? by FunnyLookinHat on Tuesday December 24, 2019 @09:41AM (#21872324)
> Don't need a JIRA task for everything

This! One hundred percent this!

However, sometimes the sign of a senior is the ability to distinguish when something isn't a fire and should go through the proper channels... so maybe I'd also add:

8. Knows when a JIRA task should be necessary before starting work.

Re:Ask HN: What do top engineers you know do that others don't? by otagekki on Tuesday December 24, 2019 @10:01AM (#21872452)
> 1. Don't bitch about legacy software

Bitching about legacy software is often necessary if you want something to change: pay off technical debt, additional time, migrate third party software to a newer version.

Re:Ask HN: What do top engineers you know do that others don't? by masukomi on Tuesday December 24, 2019 @10:29AM (#21872637)
Agreed. I've spent most of my career cleaning up other people's messes. Bitching about legacy software a) makes it clear that the prior practices are not acceptable and can't continue (no tests, ignoring edge cases, ignoring users, all the standard stuff that makes up legacy code) b) helps keep you sane.

The difference, which I hope the original author was alluding to, is that experienced dev accepts that legacy software is a part of life that has to be accepted, and dealt with, and that fixing it / keeping it on life support is frequently the right answer. Whereas junior's see it and run screaming or say there's no hope and it needs to be rewritten from scratch even though they don't really know the details of what "correct" behavior is.

Re:Ask HN: What do top engineers you know do that others don't? by around_here on Wednesday December 25, 2019 @07:25PM (#21881261)
You’re writing tomorrow’s legacy code today, so be kind about “other people’s messes” because you’re going to be the recipient of that same criticism one day.
Re:Ask HN: What do top engineers you know do that others don't? by matthewmacleod on Tuesday December 24, 2019 @10:23AM (#21872592)
That’s a different thing, though. Proposals for change which are backed up by examination of the costs and benefits are welcome. Pointless complaints like “why are we still using PHP for this system, we should retire it” without any analysis of why is much more like “bitching”, is annoying, and something that I’ve noticed almost all less experienced developers do.
Re:Ask HN: What do top engineers you know do that others don't? by twoquestions on Tuesday December 24, 2019 @09:42AM (#21872334)
> Are willing to do stuff other than their skill (eg. one of the graphics required for the project is too big, top engineer opens up gimp, resizes and continue.)

This kind of thing can be dangerous in the wrong sort of organization, be careful about stepping on other people's toes. What you call Bad engineering is adaptive behavior in an organization like this.

Bad organizations incentivize bad behavior and punish good behavior.

Re:Ask HN: What do top engineers you know do that others don't? by Cerium on Tuesday December 24, 2019 @10:47AM (#21872742)
I read this like "good engineers will unblock themselves with interdisciplinary action". I think the follow up on that example involves getting a resized asset from the UI team, but that should not hold up development and testing.
Re:Ask HN: What do top engineers you know do that others don't? by codesternews on Tuesday December 24, 2019 @06:23AM (#21871286)
Also, Don't bitch about other's code. You don't know in what constraints they have to write it.
Re:Ask HN: What do top engineers you know do that others don't? by bobosha on Tuesday December 24, 2019 @08:43AM (#21871968)
Just "don't bitch" period.
Re:Ask HN: What do top engineers you know do that others don't? by masukomi on Tuesday December 24, 2019 @10:34AM (#21872660)
other than avoiding hurting people's feelings. why not? (honestly asking)

bad code should be called out. It's reasonable to feel frustrated by bad to terrible decisions that your predecessors made and left you to clean up the consequences of.

when a group of people is presented with a shitty situation verbally commiserating with your co-sufferers is a form of group therapy. Yes, it has to be tempered with hope and humor, but... bitching is good. Cynicism actually helps ward off burnout (barely, but it's one thing that contributes to warding it off).

Re:Ask HN: What do top engineers you know do that others don't? by around_here on Wednesday December 25, 2019 @07:27PM (#21881274)
“Bad code” is entirely subjective based on unclear standards. We had one engineer bitch about some solution that wasn’t “elegant” enough for him and he proceeded to waste 2 days “fixing” it.
Re:Ask HN: What do top engineers you know do that others don't? by brianwawok on Wednesday December 25, 2019 @10:05AM (#21878740)
It also leads to (in excess), a not great work environment
Re:Ask HN: What do top engineers you know do that others don't? by haecceity on Tuesday December 24, 2019 @03:53PM (#21874843)
All existing code is bad code.
Re:Ask HN: What do top engineers you know do that others don't? by stinos on Tuesday December 24, 2019 @09:44AM (#21872349)
You mean apart from code review?
Re:Ask HN: What do top engineers you know do that others don't? by mceachen on Tuesday December 24, 2019 @03:12PM (#21874579)
There's a huge gap between bitching about bad code and coaching someone to refactor code into a good (or at least better) state. A code review is ideally the latter.
Re:Ask HN: What do top engineers you know do that others don't? by aerovistae on Tuesday December 24, 2019 @10:44AM (#21872720)
> Bad engineer will report to manager that design team did shitty job, reassign JIRA ticket, write two emails and wait for new a graphic

I hate this sentence so much. "Bad engineer"? Being a good or bad engineer doesn't come down to a single thing, ever.

A lot of organisations, like mine, which is a well known public entity, REQUIRE this sort of operational procedure.

Re:Ask HN: What do top engineers you know do that others don't? by tetek on Wednesday December 25, 2019 @05:58AM (#21878020)
That was a poor choice of words from my side. Also, I have been writing this from my startup experience.
Re:Ask HN: What do top engineers you know do that others don't? by mtnGoat on Tuesday December 24, 2019 @10:46AM (#21872737)
Many things are not testable. Not sure I'd use that as a reason to judge someone down. In fact all the most productive teams I've worked on or with, don't have anywhere near full test coverage. The best had none in fact.
Re:Ask HN: What do top engineers you know do that others don't? by tetek on Wednesday December 25, 2019 @06:05AM (#21878040)
It isn't about test coverage, it's about feature completeness.

For eg. One feature require backend & frontend work, after a week of work engineer says that this is done. So you ask him to demo, and it turns out he is doing a backend demo with some dev tools.

From a product perspective nothing has changed. Top engineers understand, that no one cares that only one part is working, they know the end user and will not bother managers/product owners with partial solutions.

Re:Ask HN: What do top engineers you know do that others don't? by mtnGoat on Wednesday December 25, 2019 @07:33PM (#21881291)
So you mean, it should work? Not sure I'd agree with that being a distinction among great programmers as much as a minimum bar of entry to call yourself one.
Re:Ask HN: What do top engineers you know do that others don't? by icebraining on Tuesday December 24, 2019 @12:07PM (#21873341)
I think you're thinking too narrowly about what "testable" means. Everything can be made testable.
Re:Ask HN: What do top engineers you know do that others don't? by viklove on Tuesday December 24, 2019 @11:42AM (#21873163)
What were they building, a todo app?
Re:Ask HN: What do top engineers you know do that others don't? by mtnGoat on Wednesday December 25, 2019 @07:30PM (#21881285)
One of them is the web/system app that powers an Alexa top 10 site. Keep trying. ;)

In fact I can think of at least 10 sites in the alexa top 100 that don't have any tests.

Re:Ask HN: What do top engineers you know do that others don't? by aledalgrande on Thursday December 26, 2019 @09:57AM (#21884199)
Lots of QA people?
Re:Ask HN: What do top engineers you know do that others don't? by ailideex on Tuesday December 24, 2019 @11:02AM (#21872859)
> 3. Don't need a JIRA task for everything

Is this common outside of organizations where people are told to not work on anything that is not a JIRA task? And do people that do that not come mostly from such organizations?