News for hackers. Stuff that matters.
Re:If you think home-rolling a solution is the answer by mooreds on Tuesday June 27, 2023 @09:53AM (#36492782)
> it will always be better, more performant, easier to use, bugfree, etc. compared to a quick home-rolled version.

You're leaving out crucial time factors:

* which is quicker to market

* which has the lower maintenance burden

Buying, in my experience, wins on those axes.

It does, though, depend on the size of the problem, which is a good callout. You rolled your own logger for a known format. You didn't roll your own RDBMS.

Also, you experimented with other solutions to determine if they were feasible. That's exactly the kind of experimentation we should all do--survey the problem space before jumping into building something.

I daresay you prove the tweet's point. For your problem, your solution was way better than the other options.

Re:If you think home-rolling a solution is the answer by Pannoniae on Tuesday June 27, 2023 @10:05AM (#36492961)
You are right in the fact that for complex systems, it will always be quicker to use an off-the-shelf solution than making your own. However, for maintainability, the most important metric is the raw amount of code, followed by the engineers' abilities and the code's level of documentedness.

So, if you can replicate what you need with a third of the code, you are already in a much better position (and can fix your own code quicker than a third party's!) than if you had to wait for the vendor/a poor guy reviewing your pull request.