News for hackers. Stuff that matters.
Re:Why I believe Rails is still relevant in 2019 by smt88 on Tuesday March 19, 2019 @07:49AM (#19429925)
> starting from scratch or from a minimal base is massively slower

This isn't the better alternative to frameworks.

The better alternative is using libraries and optionally a bootstrap code generator, which is not at all "starting from scratch".

The major difference is that you tell the libraries how to work together, rather than the framework telling you how to work.

Some frameworks become like a terrible DSL that you could never translate back into idiomatic code.

Re:Why I believe Rails is still relevant in 2019 by monkeynotes on Tuesday March 19, 2019 @08:56AM (#19430300)
> you tell the libraries how to work together

Doesn't this just become a bunch of decisions and team cognitive load you have to deal with?

Re:Why I believe Rails is still relevant in 2019 by klodolph on Tuesday March 19, 2019 @01:36PM (#19433219)
With frameworks you need a mental model of how the framework works. With libraries, you need a mental model of how your code works. On the balance of things, I would say that libraries often (not always) have less cognitive load here.

If you need the best library for the job, you can spend as much time as you like picking one. It's a matter of restraint to simply not spend that effort, and instead just pick a library because it meets your needs (without spending more than a moment evaluating whether it is better or worse than alternatives).

Re:Why I believe Rails is still relevant in 2019 by smt88 on Tuesday March 19, 2019 @10:21AM (#19431022)
Less than you'd think.

The team architect should set up the project structure, not a committew. Most languages have idiomatic conventions for writing framework-less code, so it's not going to look totally unique when they're done.

Re:Why I believe Rails is still relevant in 2019 by danmaz74 on Tuesday March 19, 2019 @11:03AM (#19431430)
> > starting from scratch or from a minimal base is massively slower > This isn't the better alternative to frameworks.

I was specifically answering to the remark from the what was at the time the top comment, saying that starting from Rack is the best approach.