Switching back to Python/JS after Rust feels impossible

302 points Time_Friendship_1263 106 comments

Anyone else struggling with going back to other languages once you've experienced Rust?

It's not even about speed (though that's nice too). What drives me nuts is error handling in Python and JavaScript projects. Half the time I'm working with libraries that have zero documentation about what exceptions they might throw or when they fail. Just crossing fingers and hoping nothing breaks

With Rust I always know exactly what could go wrong at each step. Sure there's still panic situations but in my experience those are pretty rare. Meanwhile with Python/JS I feel like I'm walking through minefield without knowing where the bombs are

Been doing more Rust lately during my free time and now when I have to touch JavaScript for work stuff it just feels so... unpredictable? Like how am I supposed to handle errors when I don't even know what errors are possible