Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

psujono

  • 2 years ago

What's the difference between object-oriented programming (e.g. java) and functional programming (e.g. python)

  • This Question is Closed
  1. thinker
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    one is a top-down approach and the other just opp. i.e bottom-up.In OOP you have objects which are instances of class. In functional programming you dont have anything called a class or an object , you just have functions. Hope this answered your question.

  2. Tomas.A
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    python is not only functional, it's multi-paradigm language and it's OOP as-well and better just google it or look in wikipedia

  3. agdgdgdgwngo
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    If by functional programming you meant http://en.wikipedia.org/wiki/Functional_programming (and not procedural) then see this nice thread: http://stackoverflow.com/questions/2078978/functional-programming-vs-object-oriented-programming

  4. agdgdgdgwngo
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Also see: http://www.haskell.org/haskellwiki/Why_Haskell_matters#Haskell_vs_OOP

  5. calmchessplayer
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    object oriented makes reusable classes which can be assembled into other program.....functional programming is just one long program with maybe some comments to tell what a function does......object oriented programs are easier to wrap your head around, update, maintain, and generally cause you less stress as you add more and more features to each version of your program.. --calmchess

  6. seanwalsh1984
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    object oriented programming is used for end-user applications, whereas functional programming is more commonly used for making scientific applications and operating system functionality.

  7. calmchessplayer
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    seanwalsh1984 I disagree with that all programming languages are going the way of Object Oriented even Lisp.........It has just taken 10 years of development of languages to get people on board with object oriented and write all the classes, methods, and datatypes and stuctures into a IDE/API/High Level Language. even the C language which is used to write most O/S now have widely used Object Oriented structures. --calmchess

  8. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.