Ok(Response::new_html(StatusCode::OK, Body::fixed(rendered))) no thank you. if you like it good for you, for me this looks worse than Body body = BodyFactory.newInstance(BodyConfiguration.OK) which is still SHORTHER and less cancer
Show HN: Cot: a Rust web framework for lazy developers
71–80 of 115 posts
Re: Show HN: Cot: a Rust web framework for lazy developers
#72Earlier quoted context omitted.
Nah. The query is $slug == LimitedString::new("cot") Also, people like ORMs. Type safety is nice too without having to map manually. Sqlx is also great
> Also, people like ORMs. Type safety is nice too without having to map manually. Sqlx is also great Don't you get type safety anyway with parameterised parameters?
Re: Show HN: Cot: a Rust web framework for lazy developers
#73Good stuff, can't wait to see more features :) Also, +1 for > struct GownoApp;
Re: Show HN: Cot: a Rust web framework for lazy developers
#74Ok(Response::new_html(StatusCode::OK, Body::fixed(rendered))) no thank you. if you like it good for you, for me this looks worse than Body body = BodyFactory.newInstance(BodyConfiguration.OK) which is still SHORTHER and less cancer
Re: Show HN: Cot: a Rust web framework for lazy developers
#75Re: Show HN: Cot: a Rust web framework for lazy developers
#76I would love a Django clone in Rust that does NOT do async. Dead simple to debug instead of performance oriented.
Re: Show HN: Cot: a Rust web framework for lazy developers
#77I would love a Django clone in Rust that does NOT do async. Dead simple to debug instead of performance oriented.
Re: Show HN: Cot: a Rust web framework for lazy developers
#78I would love a Django clone in Rust that does NOT do async. Dead simple to debug instead of performance oriented.
Re: Show HN: Cot: a Rust web framework for lazy developers
#79What's funny is its obviously in early stages, but its homepage doesn't show an immediate code sample. I find it funny because you are trying to appeal to lazy devs but making them work to get to any code samples. The golden rule for making a website / readme for any programming language, web framework (or even GUI frameworks) is to have at least one or more code samples, so people can see what coding in your framewo…
Good point! I'll add some code samples soon, thanks!