DEV Community

Cover image for Functional vs Object-Oriented Programming Paradigms

Functional vs Object-Oriented Programming Paradigms

John Nweke on January 31, 2024

So, my CS Students keep asking me - what are the differences between Procedural and Object-oriented programming languages? Makes sense that the i...
Collapse
 
ranjancse profile image
Ranjan Dailata

Consider providing some more examples of Functional Programming.

Also example about the pros and cons for the same.

Here are a few more functional programming languages.

  • Haskell
  • SML
  • Clojure
  • Scala
  • Erlang
  • Clean
  • F#
  • ML/OCaml
  • Lisp / Scheme
  • XSLT
  • SQL
  • Mathematica
Collapse
 
ranjancse profile image
Ranjan Dailata

Great post.

Please do explain about the Hybrid programming languages, for example - Rust, Python

Rust is a multi-paradigm programming language that is not strictly object-oriented or functional

Python is primarily an object-oriented programming (OOP) language, but it also supports functional programming

Collapse
 
insouciantqualms profile image
InsouciantQualms

Very nice. Though in my mind, procedural (aka imperative) is different from functional, which itself is different from object-oriented.