News for hackers. Stuff that matters.
Re:90% of software engineering done today is integrating poo... by ecshafer on Sunday May 01, 2022 @02:25PM (#31227405)
This is what I have always really disliked about many web development frameworks. Their goal is to either a) do things magically in a specific way or b) do so with a bunch of configuration files. Spring comes to mind as a particularly egregious case that does both. Spring does things automatically, until you need to add a configuration file for every change. You need to add this wrapper and this library for this other case. I have always wanted a web development framework that works more like a game development framework. Where you still code everything you need but it doesn't hide the part where you make a window or add a listener. Which makes it a lot easier to find where things are going wrong and how to change the configuration as opposed to go to stack overflow and learn you need to add this dependency which then does things behind the scenes.
Re:90% of software engineering done today is integrating poo... by brightball on Sunday May 01, 2022 @03:46PM (#31228036)
This is actually why Rails was so successful. The world of Java was frameworks full of configuration files and Rails went with the "convention over configuration" approach.

You jump from Rails project to Rails project and they all work the same way. You know where everything is immediately. It's fantastic for teams and long term maintenance between different devs because the learning curve of each project is virtually non-existent.

But Rails has gotten bigger and more complicated over the years, which makes it tougher to make the case.

Re:90% of software engineering done today is integrating poo... by ratww on Sunday May 01, 2022 @11:30PM (#31231145)
> You jump from Rails project to Rails project and they all work the same way. You know where everything is immediately.

Except lots of projects today use very diverse structures and the meat of the code is often on complex libraries like ActiveInteractors, Trailblazer Operations, stuff from the Dry-RB ecosystem, etc, or sometimes (hopefully) simple Service Pattern classes, if you're lucky. Sometimes all of them at the same time. For lots of companies, Rails projects in the real world has ceased being easy to grasp for a while.

Re:90% of software engineering done today is integrating poo... by brightball on Monday May 02, 2022 @10:45AM (#31235760)
Yea, this has been my experience as well. That's what I meant by the "bigger and more complicated".

Certainly set the standard for a long time though.

Re:90% of software engineering done today is integrating poo... by emteycz on Sunday May 01, 2022 @03:15PM (#31227794)
Node.js + Express is what you want. I'm not a Go developer, but it seems to me that the Go ecosystem also has what you want.
Re:90% of software engineering done today is integrating poo... by gernb on Sunday May 01, 2022 @04:32PM (#31228392)
can you give more details? My understanding is the node + express is really low level providing almost nothing except a set of chainable functions based on routes. To get any actual functionality (storing to databases, authentication, users, sys admin, etc requires writing everything yourself.

The reason I like batteries included frameworks is I get all that for free and ideally it's already following best practices so I don't have to worry about security, about account recovery, about versioning new data/features, about scaling, etc

Re:90% of software engineering done today is integrating poo... by chii on Sunday May 01, 2022 @08:36PM (#31230159)
> don't have to worry about security, about account recovery, about versioning new data/features, about scaling, etc

with the exception of security (i take it you mean authentication), everything else is unlikely to be provided by a framework like spring directly - you'd have to choose something to provide it or write it yourself.

Re:90% of software engineering done today is integrating poo... by gernb on Monday May 02, 2022 @04:53AM (#31232720)
Rails provided many of those things. I believe Django does. Meteor used to provide many of tbem