3 ms·
From my experience it's quite a good language for fun experiments and coding challenges, at the very least. I grew to love it quickly during advent of code. Th
by sammorrowdrums 7y ago
From my experience it's quite a good language for fun experiments and coding challenges, at the very least. I grew to love it quickly during advent of code.
The iterators, enums and no Null types lend themselves to interesting solutions.
The crate ecosystem is also developing fast, and there are decent browsable docs and bootstrapping the env and development environment are all easy.
SDL2 support makes it really easy to make rectangle based games like classic pong and experiment with keyboard and controller inputs etc. (never mind further possibilities of 3D etc).
TTY apps and games are also easy to make with the termion crate.
I think it's just kind of worth learning in a way that (for example) Python, C and Haskell are complementary options for learning different ways of thinking about of coding. Rust feels like a different flavour of programming. It's borrow checker and branch checking etc. they really are likely to lead to better programming in other languages too. Understanding ownership and considering the transfer of ownership are valuable.