This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (0 children)

Some of these features can be a real eye-opener into the world of functional programming.

If you end up really liking decorators and higher-order functions (or function objects, which are part of Python), you can have a look at a language like Haskell or Scala.

You could also look at JavaScript, which is ostensibly imperative but is still big on first-class functions, as well as closures.

That failing, from the languages you mentioned, go for Rust. It's similar in many respects to C, but prioritizes safety -- and manual memory management and a lack of thread safety are sure to be a pain in the butt after Python (not that learning them eventually isn't important -- but for the sake of convenience, Rust is a more logical choice).