I'd say very yes to a compiler class. Not so much so you can 'make your own languages', or what not. For the sole purpose of just getting down and dirty, thinking about the core concepts behind a compiler. When you think about how a compiler is written, it can, and will make you think much differently when you're coding. Compilers are beautiful, but sometimes fickle creatures. Knowing the basic idea of how they work can only help you.