Object-oriented programming (OOP) is a programming paradigm that divides all the logic of a program into objects, which can hold data (attributes) and procedures (methods). They are modeled through classes, which are blueprints for objects. It also includes important concepts like inheritance, interfaces, polymorphism and data encapsulation. Some of the most popular object-oriented programming languages include Java, C++, Javascript and C#.

On the other hand, functional programming is a paradigm focused on chaining functions to map values to other values, without modifying data. Some of the most popular funcional programming languages include Haskell, OCaml, Scala, Lisp and Erlang.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence