Login
You're viewing the techdon.dev public feed.
  • Oct 27, 2026, 10:17 PM

    does anyone remember when it was generally agreed that a large amount of boilerplate in a project was a sign of bad design, and that you should seek to improve things through abstraction or refactoring rather than simply automating and codegen-ing your way through?

    💬 11🔄 0⭐ 0

Replies

  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Oct 28, 2026, 12:10 AM

    @jacqueline to this day i ruthlessly go through my projects looking for repeating boilerplate and try to find ways to eliminate it.

    Sometimes it's easier than other times, but I always see it as an opportunity for improvement

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Oct 28, 2026, 7:51 AM

    @jacqueline and don't forget that refactoring can be fun!

    When you're not under undue pressure, "I removed a hundred lines of code and the program behaviour is identical to what it was before I started" is more oddly satisfying than it initially seems

    💬 0🔄 0⭐ 0
  • Oct 28, 2026, 8:35 AM

    @jacqueline I was thinking the same. Instead of really trying to have general thinking and abstracting, AI generates and generates code. On the other hand, we've all been lazy and skipped writing a test, verifying corner cases. AI doesn't do that. Compromise would be to use AI for review. That basically the stance or projects like curl who were initially very anti-AI.

    💬 0🔄 0⭐ 0
  • Oct 29, 2026, 6:23 AM

    @jacqueline
    That was always my opinion, but never agreed by corporations selling developers by time&material rates.
    why would we have had CORBA, EJB, XML and all the newer stuff requiring code generation of boilerplate code?

    💬 0🔄 0⭐ 0
  • Oct 29, 2026, 11:10 AM

    @jacqueline feels like yesterday (read as: i gave advice for refactoring yesterday and have no plans to stop doing it)

    💬 0🔄 0⭐ 0