Back to problems

Chat Bot System Refactoring

Object-Oriented Programming · OpenAI · Medium

Problem Overview You are working with an older chat-service implementation that supports slash-command bots such as AwayBot, MeetBot, and TacoBot. The bot behavior is currently concentrated in one function and relies on global state. Refactor the design so that it is easier to maintain, test, and extend with additional bots. This coding exercise evaluates your ability to: Recognize design problems and code smells Apply object-oriented design techniques Define useful…

Checking your access…