News for hackers. Stuff that matters.
Re:Marten, a Crystal web framework that makes building web a... by FerociousTimes on Monday October 31, 2022 @06:38AM (#33404005)
Writing boilerplate code manually is not something that should be touted as a best practices esp if you intend to reinvent the wheel every time you want a usecase implemented that was probably covered thoroughly by a framework somewhere else.

With frameworks esp like the ones as RoR, the Convention over Configuration (CoC) consideration trumps all the purported benefits that may arise from building your own framework from scratch.

You just learn the fundamentals of one of the robust and well-established frameworks once, and forget about all the fluff and cruft, and just focus on building the business logic and satisfying the user's/customer's needs.

The Not Invented There (NIT) anti-pattern is one hell of a drug!

Re:Marten, a Crystal web framework that makes building web a... by npn on Monday October 31, 2022 @01:45PM (#33409606)
well one of the weakest point of crystal is it's slow compiling time. A full-featured framework for crystal looks nice on paper, but after your app grow it will become a hinder instead, solely for the additional compiling time overhead of all the nice features the framework provided.

It hurts my productivity so bad I have to split the code base to multi independent services, each one use a simple server to serve some part of the system. After this those frameworks just cease to being helpful.