News for hackers. Stuff that matters.
Re:The controller pattern is awful (and other OO heresy) by brianide on Monday July 10, 2023 @01:57PM (#36670314)
Personally issue with it (besides the pointless noise of having to make a private constructor and such) is that you can't alias them like you can with actual namespaces/modules in most languages, which becomes a pain when eg. you need functions from both Apache's StringUtils and your own StringUtils in the same file.
Re:The controller pattern is awful (and other OO heresy) by jayd16 on Monday July 10, 2023 @02:27PM (#36670842)
Ah, I suppose it can get wordy in Java. I'm more used to C# where you can alias the class name if need be.