News for hackers. Stuff that matters.
Re:Keeping a plaintext “did” file by Tade0 on Monday July 16, 2018 @07:49AM (#17540513)
I used to keep a so-called shitlist for a long term project I was involved in.

The idea was to document all the worst places in the codebase(150k LOC) that frequently caused weird behaviours.

Each record contained a short description, the reason why this piece is bad, hash of the commit that introduced it and of course the perpetrator.

Of course the main purpose it served was to relieve stress, nevertheless it helped me with my work a few times.

One could ask why didn't I just refactor these pieces right away? Two things often stopped me from doing this: first, some of those lines were over eight years old and a huge part of the system depended on their sometimes buggy behaviour. Second, the company review policy was "stability, stability, stability", so any change beyond the scope of the thing I was working on was automatically rejected.

Re:Keeping a plaintext “did” file by mholmes680 on Monday July 16, 2018 @08:04AM (#17540604)
I've done the same, although, i just put it right in the code:

TODO, REDO, DONE with the corresponding JIRA ticket ID for extended mental notes (Pull Request fits here too). IDEs can grok all that together so you can quantify the bad stuff in the code, which can help management make better decisions.

Re:Keeping a plaintext “did” file by Tade0 on Monday July 16, 2018 @08:17AM (#17540669)
I would do the same if I weren't afraid of coming off as passive-aggressive given that I voiced my opinions in the past but received a reply in the vein of: "We're aware that this old code is really bad, but with our constrained resources we need to prioritize keeping this boat afloat.".
Re:Keeping a plaintext “did” file by noxToken on Monday July 16, 2018 @09:27AM (#17541076)
I keep mine locally. I have the PlainTasks[0] package installed for Sublime Text. It's a plaintext file with a bit of TODO functionality baked in. When I find something, I note the commit, the line (or block), and why I want to fix it. I try to slightly estimate high enough that I could throw some fixes in for the sprint.

[0]: https://github.com/aziz/PlainTasks

Re:Keeping a plaintext “did” file by contravariant on Monday July 16, 2018 @09:49AM (#17541204)
At some point you do need to stop baling water and actually plug the hole though.
Re:Keeping a plaintext “did” file by corey_moncure on Monday July 16, 2018 @11:35AM (#17542106)
Nah. The bridge crew all have executive lifeboats. No biggie if the ship goes down.
Re:Keeping a plaintext “did” file by sillyquiet on Monday July 16, 2018 @02:38PM (#17543779)
To completely and hyperbolically torture this metaphor, as long as you whip the galley slaves to row fast enough so that you can jump to safety on "Short Term Stock Gain" Island, you'll be fine.
Re:Keeping a plaintext “did” file by JustSomeNobody on Monday July 16, 2018 @10:37AM (#17541579)
They should teach this at MBA school. But they don't.
Re:Keeping a plaintext “did” file by Lio on Monday July 16, 2018 @11:10AM (#17541869)
As well as the many IDEs and editors that support these comment tags, Ruby on Rails (and I'm sure other frameworks also) provides direct support for these.

  rails notes
Will return you a little text report that you can use in your CI or anywhere else that groks text.
Re:Keeping a plaintext “did” file by roryisok on Monday July 16, 2018 @08:52AM (#17540886)
I used to do this in visual studio, it had a task list view that would aggregate all the comments that start with 'TODO'. Since I made the move to VSCode I haven't found anything similar.
Re:Keeping a plaintext “did” file by janlaureys on Monday July 16, 2018 @09:11AM (#17540995)
Re:Keeping a plaintext “did” file by roryisok on Monday July 16, 2018 @03:14PM (#17544110)
Thank you!
Re:Keeping a plaintext “did” file by s-shellfish on Monday July 16, 2018 @08:43AM (#17540833)
> Of course the main purpose it served was to relieve stress, nevertheless it helped me with my work a few times.

That seems more preferable to becoming what essentially amounts to becoming a mouth piece for potential areas of preference (error?) in software design.

Re:Keeping a plaintext “did” file by co_dh on Monday July 16, 2018 @08:01AM (#17540583)
I would call it notes.txt to make it more positive. Bad code is everywhere, and don't let them make you sad.
Re:Keeping a plaintext “did” file by Tade0 on Monday July 16, 2018 @08:10AM (#17540637)
Actually the fact that I finally had an outlet for my frustrations was very cathartic. It was a lot like writing sad poetry over lost love.
Re:Keeping a plaintext “did” file by jdironman on Monday July 16, 2018 @08:15AM (#17540652)
Or the epilogue to my life spent indoors fixing bad code.
Re:Keeping a plaintext “did” file by Arubis on Monday July 16, 2018 @12:05PM (#17542374)
That may be the most depressingly truthful description of software development I've ever run across.