r/javahelp • u/[deleted] • Jun 12 '19
Are there developers who are truly interested in good architecture, quality and security? And if so, which frameworks are they using?
The title is the question
3
u/onebit Jun 12 '19
Treat the framework an implementation detail
1
Jun 12 '19
The later the evening, the better the guests. One of my favorite quality motivation talks ever!
2
3
u/harfowerd Jun 13 '19
While important, frameworks come and go. It's more important to architect in a way that anticipates and eases change. I'm a big fan of domain driven design with onion architecture.
1
u/OffbeatDrizzle Jun 12 '19
Spring - but anyone can misuse any framework. Some people just want something that looks like it works so they can tell management they "released 20 different products this year", and the rest of us are left picking up the pieces
1
u/Americanstandard Jun 13 '19
This! Then when it is time for the next greenfield project Hatchet-man-Harry gets to run point on it because he quoted 1/2 time it takes to do it responsibly, and he will finish in 3/4 the time it should take and it will take the final 1/4 of the time for the "Code Archeologists" coming in after to even identify where the bodies are buried and then call for a rewrite. During that last 1/4 Harry is off starting the next greenfield dumpster fire. "It's cold outside. Let me light a fire in my pants. Ouch that burns! It's cold outside. A pants fire will fix that..." /endRant
0
Jun 12 '19
[deleted]
7
u/slowfly1st Jun 12 '19
Exactly. Using specific frameworks does not automatically imply ending up with well designed, high secure and high quality software.
1
Jun 12 '19
And what about the other way around, could a specific framework make it harder to adhere to a certain set of standards?
2
u/_harro_ Jun 12 '19
Don't underestimate the power of stupidity.
Spring (boot) already nudges you in a direction, but it doesn't force you.
Also the architecture itself already depends on the problems you are trying to solve.
2
u/slowfly1st Jun 12 '19
What framework and what standards?
If you want, let's say, use two factor authentication: Any framework which doesn't fulfill that requirement out of the box will make it harder to achieve. But that certainly doesn't make the framework bad. If you want to use simple authentication and chose a framework which can do two factor authentication but you will end up using more time to implement your requirements, because the framework for example is more complex to use, doesn't mean that the framework is bad.
Or with another analog: If you want to travel the deserts of morocco on a bike and buy a 1000cc road bike: Don't blame the bike for crashing. If you want to go to the track and use a 125 two stroke: Don't blame the bike when your lap times suck.
4
u/amfa Jun 12 '19
either don't know what it means to write good code or just don't care.
Or in a real life environment you simply do not have the required time to make it right.
Especially when dealing with legacy code, where you just try to fit in your new code so that not too much breaks.
If you see commit message like "Dear god they forced me to do this" you know what's going on :D0
Jun 12 '19
[deleted]
1
u/amfa Jun 13 '19
I need to kill those hopes...
killed hopes = less developers = more open jobs = more money for me ;)
19
u/Python4fun Jun 12 '19
Springboot helps with a lot. I would include the various add ons for security and various necessary bits. Overall the spring framework and spring boot help to make the code more manageable and easier to grasp. That then allows you to focus more on the tasks at hand.
I did assume that you meant in a Java ecosystem since you asked I this sub.