My rules of thumb for using multiple programming languages