from Hacker News

Ask HN: What are some good reasons for reinventing the wheel?

by joeclef on 12/7/21, 1:26 PM with 9 comments

In the context of industry software development, what are some good reasons for reinventing the wheels?
  • by h2odragon on 12/7/21, 1:32 PM

    To gain a better understanding of why the one that's there is designed as it is. Sometimes there's legacy crap in the previous design thats no longer needed, or you have better materials, and can make the new one more elegant and functional. Sometimes it just gives you the opportunity to see all the failure modes that weren't obvious until you stuck your paper wheel in the place where a steel one had been.
  • by markus_zhang on 12/7/21, 8:41 PM

    Ownership, chance to go back as consultant, chance to speak at conference.

    Unless you are an architect or/and an old man/woman or/and don't enjoy programming, I don't see any reason you don't want to reinvent the wheels.

  • by beardyw on 12/7/21, 2:23 PM

    If reinventing the wheel implies no added benefit, the answer is never (or perhaps for educational reasons as someone else has suggested).

    If you can identify a benefit, that needs to be weighed against the cost. A benefit may involve maintainability, flexibility, extendibility or any number of ibilities. But that is more like improving the wheel which is OK.

  • by toast0 on 12/8/21, 12:01 AM

    More control, different choices for tradeoffs, it's a decent way to get detailed knowledge, a reinvented wheel that only works for your specific company may be a better fit and simpler than a universal wheel.

    Of course, there's plenty of ways to waste a lot of resources reinventing the wheel.

  • by vmoore on 12/7/21, 2:18 PM

    If you're doing clean room design: https://en.wikipedia.org/wiki/Clean_room_design then reinvention is allowed
  • by crate_barre on 12/7/21, 4:50 PM

    I always say there’s only one rule you have to follow with respect to reinventing the wheel:

    Do it on your time, don’t bring that shit to work.

  • by jstx1 on 12/7/21, 1:48 PM

    You want a different/nicer wheel and the cost of reinventing it is low enough to make it worth it.
  • by kello on 12/7/21, 7:21 PM

    To learn