News for hackers. Stuff that matters.
Re:The Web Is Broken – Botnet Part 2 by rapind on Saturday April 19, 2025 @05:04PM (#43739455)
It starts off feeling like a superpower allowing to to change a system's behaviour without changing its code directly. It quickly devolves into a maintenance nightmare though every time I've encountered it.

I'm talking more specifically about Aspect Oriented Programming though and DI containers in OOP, which seemed pretty clever in theory, but have a lot of issues in reality.

I take no issues with currying in functional programming.

Re:The Web Is Broken – Botnet Part 2 by rjbwork on Sunday April 20, 2025 @11:59AM (#43744604)
In terms of aspects I try to keep it limited to already existing framework touch points for things like logging, authentication and configuration loading. I find that writing middleware that you control with declarative attributes can be good for those use cases.

There are other good uses of it but it absolutely can get out of control, especially if implemented by someone whose just discovered it and wants to use it for everything.