Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

When you have 20 routes each being terminated with redundant `res.json(success);\n MiddleWare::Next` I think you can imagine why someone might see it as not lightweight in terms of unnecessary boilerplate - which most Rust webframeworks, async or not, don't require you to write out.


^ This.

I am mostly naive to Rust and web server frameworks, so its a naive thought that may be completely contraindicated due to other issues, but I don't expect to see meaningless(?)/repetitive code in the advertisement for a framework that advertises as lightweight.


I don't think a simple enum return value really counts it out as lightweight.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: