4 ms·
Same 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),
by cercatrova 4y ago
Same 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).