> Yes, these things do best when they have a (simulated) environment they can make mistakes in and that can give them clear and fast feedback.

This always felt like a reason to throw it at coding. With its rigid syntax you'll know quickly and cheaply if what was written passes an absolute minimaal level of quality.

Well, rigid syntax, type checkers, automated tests, etc. They all help.