As indicated by SK-logic the mental shift should not be a problem if you use well-choosen domain specific languages. But often you cannot choose the language, so it sometimes takes a moment to switch. In my experience the difficulty is more in switching syntax than in switching programming style. The only annoying shift that I always experience is the comment style shift: If I just open a file to quickly change a line of code, it often goes:
# what // the ; f*** % is -- the one-line comment character or sequence?