DEV Community

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

Collapse
 
molly profile image
Molly Struve (she/her) • Edited

Our CTO once put a client into maintenance mode accidentally. When that happens, the client can't log into their account or anything. He panicked and started blowing up Slack asking about how to reverse it. Since then we have a confirm dialog on that button that says

Are you sure you want to enable maintenance mode for this client, Ed?

That was added over a year ago. What is better is that a newer dev recently saw it and assumed we had incorrectly identified the user. He was quite amused when we told him, nope, that was on purpose. πŸ˜‚