DEV Community


Discussion on: Do you leave jokes in your code? If so, please share!

fpuffer profile image
Frank Puffer

No. I never do that. Not that I have an issue with jokes. But you can bet that at least some users or other stakeholders won't understand the joke and instead view it as a lack of professionality.

ahmedmusallam profile image
Ahmed Musallam Author

Well of course! Context matters! I’m not talking about delivering jokes in products used by thousands of users (unless that’s part of your marketing strategy). Context matters, and I am usually careful about where the joke is placed and who’s going to read it.

In my specific case, this tool is open source, and is used exclusively by developers.

Additionally, I might leave a joke in a comment even in client code. I don’t think that’s going to be the reason a client thinks I’m unprofessional.

It goes without saying, inappropriate jokes have no place in this discussion. That’s just part of being respectful to other humans.