3 ms·
But as someone who often has to jump into unknown codebases and get up-to-speed quickly I'm not sure how long you've been in development but eventually you jus
by kirse 4y ago
But as someone who often has to jump into unknown codebases and get up-to-speed quickly
I'm not sure how long you've been in development but eventually you just learn to "expect magic" with frameworks and after awhile they all blur together. Show me the docs on the decorators, the pipeline, how it handles global context etc and it's all pretty much the same core concepts repeated across different languages.
To your later point, yes, frameworks should be a terse DSL. I expect a framework to make good "magic" assumptions that enable me to benefit from packaged functionality that would often be more verbose in lower-level implementations.
without needing to resort to external documentation to understand
That's not a thing. RTFM. Or a good code inspection tool if you really hate docs.
- junon 4y agoWhat an assertive take that couldn't be more subjective and counter to what many (including myself) have experienced.
- kirse 4y agoYour ability to pop open vscode and slap some JS in it to start a web-server in a few lines is the product of decades of SW frameworks that have made thousands of assumptions along the way to increase expressive power while tucking complexity under the hood. Feel free to provide a counter-example vs a generic statement.
- runevault 4y agoYou just presumed everyone is a JS dev. Despite how hard it is trying to take over the world but not everyone writes javascript.
- cercatrova 4y agoSame as in this Rust example then. The Axum example is basically the same as its equivalent in JS. I've also seen similar abstraction in Python (Django, Flask), Ruby (Rails), Elixir (Phoenix) etc.
- runevault 4y agoI will agree insofar as webdev seems to proliferate use of magic. ASP.NET core also uses a ton of it, which I hate as well. I'm not sure why that one particular area draws the people who love magic for their tooling, but it at least partly explains why I wish I could just hide in a backend hole and avoid 90% of it (Dependency Injection can be very full of magic as well but that's another tech tool I wish would go away).