Single vs double quotes is simple and logical: use double quotes only when needed i.e. when you need escape sequences or variables.