News for hackers. Stuff that matters.
Re:Don’t Let Architecture Astronauts Scare You (2001) by BishoyDemian on Monday August 30, 2021 @10:37PM (#28363359)
Premature optimisation is a real pain when it comes to software design and architecture. However, abstraction is a powerful and necessary tool that can make our life a lot easier by avoid repetition (DRY - don't repeat yourself).

A good architect worth their salt will be able to find the right balance. To distill and simplify a problem down to the absolute minimum where it cannot and should not be abstracted anymore before it lose or miss its core objectives and reason to exist.

Re:Don’t Let Architecture Astronauts Scare You (2001) by Lio on Tuesday August 31, 2021 @05:31AM (#28365685)
A somewhat cheesy aphorism for this is "Dry but not so dry it cracks".

Personally I like the rule of thumb that you let 3 instances of something occur before you try to refactor it into a single design.

Without examples of real usage it's far too easy to come up with bad abstractions. I'd rather have code that's easy to delete later.