News for hackers. Stuff that matters.
Re:Low Hanging Fruit of Programming Language Design by olau on Wednesday November 22, 2017 @12:14PM (#15758450)
I have another example.

In web frameworks, there is usually a little bit of boiler plate for each view.

You could refactor this completely away, but not without an almost total loss of flexibility and a good amount of readability too. Often the views will look very similar, then start diverging as the project grows.

With you on refactoring common patterns out, and yes, some people don't do this enough. But really, the important thing there is that those patterns are truly common to a large degree and should stay in sync - so it's worth it to introduce a maintain a new concept to keep them that way.

There are no comments on this comment yet.