Most languages can help you avoid using the wrong one through the use of variable names.
The problems you might run into are more (for example) using the wrong algorithm for calculating gravity, adjusting the position of one planet before using it to evaluate its impacts on other planets, failing in collision detection etc.
I don't see anything in Haskell that would prevent me from doing any of those.