News for hackers. Stuff that matters.
Re:Rust needs a web framework for lazy developers by p1necone on Sunday October 06, 2024 @06:11PM (#41760770)
I'm a lazy developer and I love languages with an "if it compiles it works" feel. I'd much rather hack around in rust or typescript with half my brain switched off and a beer in hand and eventually get working software than hack around in javascript with half my brain switched off and a beer in hand and get more and more broken software until I eventually give up.
Re:Rust needs a web framework for lazy developers by 27theo on Sunday October 06, 2024 @06:15PM (#41760795)
TypeScript sure, but Rust? Half your brain switched off? There is a middle ground between unfettered madness and the Rust compiler's strict regime. Maybe try Elm.
Re:Rust needs a web framework for lazy developers by Philpax on Monday October 07, 2024 @04:19AM (#41763852)
Yes, really. I've found Rust to be the easiest language to use while cognitively impaired (i.e. drunk) because the compiler can maintain all of the invariants that my conscious mind would need to manually maintain in any other* language.

*: There are simpler FP languages that can offer a similar experience, but they come with their drawbacks: I don't think I'd want to set up OCaml on Windows under such a state

Re:Rust needs a web framework for lazy developers by RandomThoughts3 on Sunday October 06, 2024 @06:13PM (#41760778)
Then just use Ocaml or F#. You are welcome.
Re:Rust needs a web framework for lazy developers by 6gvONxR4sf7o on Sunday October 06, 2024 @11:42PM (#41762582)
For a person just curious about all three, how do the ecosystems compare?
Re:Rust needs a web framework for lazy developers by throw10920 on Sunday October 06, 2024 @08:38PM (#41761670)
I don't think the dichotomy is between types and not-types - it's between Rust and other typed languages.

Most people here appear to agree that types are useful, but some people are claiming that a language that forces you to do memory management is somehow as ergonomic/lazy as others that manage memory for you (with equivalently good type systems - TypeScript, ~Python).