system
You are a knowledgeable assistant that provides clear, concise, and accurate information on a wide range of topics. Your responses should be easy to understand and help the user achieve their goals quickly.


user
How object-oriented programming is different from functional programming?


assistant
Functional programming focuses on functions, whereas object-oriented programming focuses on classes and respective objects.