If you want to dress like an idiot (and consequently have most people think you are an idiot) then dress as you want. I personally don't care if someone shows up in shorts for dinner.
I don't own a tux, will never own a tux, and personally think if you wear a tux on a ship you are going a little overboard (pun intended).....
Half the guys wearing tuxes are Wal-Mart greeters anyways.
And we don't need "soup nazis" to enforce the code either. Relax.