News for hackers. Stuff that matters.
Re:Show HN: Welcome, Cot: the Rust web framework for lazy de... by winrid on Tuesday February 18, 2025 @09:28AM (#43089845)
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

Re:Show HN: Welcome, Cot: the Rust web framework for lazy de... by lelanthran on Tuesday February 18, 2025 @09:30AM (#43089875)
> 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: Welcome, Cot: the Rust web framework for lazy de... by winrid on Tuesday February 18, 2025 @12:07PM (#43092182)
on return values?
Re:Show HN: Welcome, Cot: the Rust web framework for lazy de... by lelanthran on Wednesday February 19, 2025 @06:28AM (#43100956)
Good point. I suppose doing a runtime type-check is possible if using the ORM, too.