News for hackers. Stuff that matters.
Re:I Have a Dirty Secret. I’m a Software Craftsman by resonious on Sunday April 23, 2023 @02:43PM (#35679250)
This is a very level-headed defense of design patterns. I'm kinda like the parent commenter. I have a stick up my ass about these kinds of things. I think they're misused quite often. But it's good to see a reminder that they do have their place.

Even DRY, I've seen DRY cause test suites become hard to work with. Rules of thumb sometimes get pumped really hard and I think it causes people to over-use them. The rule becomes the goal rather than something more material like UX or DX. This code is DRY, DRY is good, therefore this code is good - I hear arguments like that quite often. But your take feels very grounded.

Re:I Have a Dirty Secret. I’m a Software Craftsman by 88913527 on Sunday April 23, 2023 @03:20PM (#35679571)
Rules of thumb get pumped hard because it's easier to have a simple, global message to all engineers on the team than it is to express nuance. Everything has a time and place, but telling people that doesn't really give them the tools to succeed. Identifying general usage patterns that work well 80% of the time is a better message, and you can add that 'there are no silver bullets'. The only way people can develop a fine-tuned sense of when to follow patterns and when to deviate is empirically with more experience.