News for hackers. Stuff that matters.
Re:Software Architecture Is Overrated, Clear and Simple Desi... by jacquesm on Wednesday September 18, 2019 @03:05AM (#21002992)
Even OOP has its place. I once wrote a simulation of a physical system with a lot of moving parts and OOP made the problem tractable and the code readable and maintainable. I don't think any other style of coding would have had such an enlightening effect on that particular problem.
Re:Software Architecture Is Overrated, Clear and Simple Desi... by mac01021 on Wednesday September 18, 2019 @10:08AM (#21005575)
Are you able to provide any more detail about what the simulation had to do, and how OOP helped?
Re:Software Architecture Is Overrated, Clear and Simple Desi... by jacquesm on Wednesday September 18, 2019 @10:37AM (#21005872)
Lots of mechanical linkages interacting with each other. Move one and everything else moves as well. Gears, shafts, levers, chains (modeled as independent links), that sort of thing.
Re:Software Architecture Is Overrated, Clear and Simple Desi... by StreamBright on Wednesday September 18, 2019 @03:10AM (#21003016)
Totally. For me just AbstractUserGeneratorFactory does not make sense.

You can have a look here to get examples:

https://docs.spring.io/spring/docs/3.0.x/javadoc-api/allclas...

Re:Software Architecture Is Overrated, Clear and Simple Desi... by james_s_tayler on Wednesday September 18, 2019 @06:18AM (#21003809)
It's actually a pretty incredible framework.

While it might just look like word soup from that particular vantage point I'd venture to say that Spring Framework is one of the most successful examples of OOP in history. It has massive adoption because of its sheer flexibility which all of those abstract generator factories give it.

Granted, I think Ruby on Rails is also an amazing project. For slightly different reasons, but then again, they're different use cases serving different paradigms and different groups of people.

It isn't the paradigm that makes something good or bad or better or worse. It's the quality of the implementation.

Re:Software Architecture Is Overrated, Clear and Simple Desi... by StreamBright on Wednesday September 18, 2019 @08:48AM (#21004780)
Sorry I am not trying to turn this into a framework discussion. I just used that list the exhibit the sort of naming that I do not really like. I like if I can tell what my code does. I usually use verbs in naming methods create, update, delete, add, remove, run, wait, etc. and try to name the classes (or more likely just packages, modules) after what they do.

Regarding your comment about the quality of implementation, I agree. This is why I like paradigms that are simple enough for everybody to understand.