3 ms·
> higher level things like web apps. Frankly any language that makes me write "some string".into(), and all of the other nonsense of Rust, is not suitable for
by crystaldev 7y ago
> higher level things like web apps.
Frankly any language that makes me write "some string".into(), and all of the other nonsense of Rust, is not suitable for writing string processing applications (as opposed to utilities, such as ripgrep). The business logic of any Rust application that deals mostly with strings is hopelessly obtuse and/or obscured. Languages like Perl, Python and Ruby, or even JavaScript and Java, are more suitable.
Rust focuses on and succeeds at being an improved C++, no reason to use it for everything.
- sdegutis 7y agoWeb frameworks convert strings to business logic, web apps deal only in business logic. Fortunately the web framework is only written once to support multiple web apps.
- crystaldev 7y agoThat sounds nice, but practically a lot of web app development can't be perfectly modeled by a type system. There's a lot of string munging and bashing, because at the end of the day we deal with messy human inputs, and the required bookkeeping makes that tedious and inexpressive in Rust.
- iopq 7y agoIf "some string".into() is your #1 complaint you haven't used Rust enough