Whenever I'm coding in multiple languages, I end up mixing the syntax and making syntactical errors. For example, I would end up writing "def" in NodeJS or "function" in Python. (Same with manipulating arrays and so many other basic things)
Does it happen to you too? How do you ensure you're able to switch quickly and effectively between programming languages while coding?
Any tips or tricks are appreciated.