There's a real mindset change required when moving from other programming languages to Rust. The idea that variables can go out-of-scope before the end of a function body is... interesting! 🤨️

@neildarlow I attempted the advent of code with rust and got reasonably far. I know what you mean, it's a new way of seeing things.

I really love it though. Having things like result types, null safety and pattern matching in a systems programming language is wonderful :)


@dmk Yes. I think the mantra for converting to Rust is "Be prepared to program differently!".

Sign in to participate in the conversation

General purpose mastodon instance