Rust-like scripting language

I'd say Python and Rust are very similar in simplicity, at least. They both have super nice, concise ways to represent concepts, and both make those ways idiomatic. You mention the questions, though - I think that python and rust often also share some of the same problems where idiomatic code is easy to read, but hard to write. It can be very difficult to figure out the "right" way to do things in either language as a beginner.

The biggest difference I see is that when you don't do things right, Rust complains, and Python is often a toss up between runtime error and it just working (until the data your wrong code can't handle is passed in).

5 Likes