Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Functional Programming

Functional Programming

Scheduled Pinned Locked Moved The Lounge
questionfunctionallearning
39 Posts 25 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nand32
    wrote on last edited by
    #1

    Who's yet to open the book on this? This is one such topics where the whole world starts doing something about, but I keep it safe in my todo list. Just a quick question from the dummies perspective. 1. Will functional programming make all the OOAD concepts obsolete or it can get along well with OOAD? 2. What's your take? You like it?

    L C M Z C 15 Replies Last reply
    0
    • N Nand32

      Who's yet to open the book on this? This is one such topics where the whole world starts doing something about, but I keep it safe in my todo list. Just a quick question from the dummies perspective. 1. Will functional programming make all the OOAD concepts obsolete or it can get along well with OOAD? 2. What's your take? You like it?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      for mine it's something everyone talks about as the new sliced bread, and later all but disappears into some niche, like lisp or prolog, or even forth.

      Message Signature (Click to edit ->)

      S U 2 Replies Last reply
      0
      • N Nand32

        Who's yet to open the book on this? This is one such topics where the whole world starts doing something about, but I keep it safe in my todo list. Just a quick question from the dummies perspective. 1. Will functional programming make all the OOAD concepts obsolete or it can get along well with OOAD? 2. What's your take? You like it?

        C Offline
        C Offline
        CPallini
        wrote on last edited by
        #3

        1. As matter of fact, OOAD concepts and functional programming are both dated. Lately there's some interest in the features of functional programming, that's true. 2. I like it but I don't fully understand it. That is often I am not able to see how my job would be easier using functional programming.

        C 1 Reply Last reply
        0
        • N Nand32

          Who's yet to open the book on this? This is one such topics where the whole world starts doing something about, but I keep it safe in my todo list. Just a quick question from the dummies perspective. 1. Will functional programming make all the OOAD concepts obsolete or it can get along well with OOAD? 2. What's your take? You like it?

          Z Offline
          Z Offline
          ZurdoDev
          wrote on last edited by
          #4

          I do Functional2 programming. Not only do I write functions but they also function.

          Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

          OriginalGriffO 1 Reply Last reply
          0
          • N Nand32

            Who's yet to open the book on this? This is one such topics where the whole world starts doing something about, but I keep it safe in my todo list. Just a quick question from the dummies perspective. 1. Will functional programming make all the OOAD concepts obsolete or it can get along well with OOAD? 2. What's your take? You like it?

            M Offline
            M Offline
            Maximilien
            wrote on last edited by
            #5

            Who say things are functioning anyway ? :rolleyes:

            I'd rather be phishing!

            1 Reply Last reply
            0
            • Z ZurdoDev

              I do Functional2 programming. Not only do I write functions but they also function.

              Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #6

              But do they do the function for which they were designed? There has to be a set procedure, and some method in your madness.

              Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              Z 1 Reply Last reply
              0
              • N Nand32

                Who's yet to open the book on this? This is one such topics where the whole world starts doing something about, but I keep it safe in my todo list. Just a quick question from the dummies perspective. 1. Will functional programming make all the OOAD concepts obsolete or it can get along well with OOAD? 2. What's your take? You like it?

                C Offline
                C Offline
                CodeWraith
                wrote on last edited by
                #7

                Functional programming is loved mainly by eggheads, like my boss who has a degree in mathmatics. He also loves VB, so take that as a reference however you like. Long ago, I was tortured with LITHP and Scheme by egghead professors. Twice. That's enough for the rest of my life and I can easily live with not ever having to see that stuff again. Maybe aliens from Ceti Alpha love it, but I also suspect it's the reason why Ceti Alpha Six exploded.

                I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                C R 2 Replies Last reply
                0
                • C CPallini

                  1. As matter of fact, OOAD concepts and functional programming are both dated. Lately there's some interest in the features of functional programming, that's true. 2. I like it but I don't fully understand it. That is often I am not able to see how my job would be easier using functional programming.

                  C Offline
                  C Offline
                  CodeWraith
                  wrote on last edited by
                  #8

                  CPallini wrote:

                  I like it but I don't fully understand it.

                  Some eggheads pretend to understand it and insist that the benefits outweigh any inconveniences. Never do they say anything about the downsides or, god forbid, admit that they have no clue.

                  I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                  1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    But do they do the function for which they were designed? There has to be a set procedure, and some method in your madness.

                    Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                    Z Offline
                    Z Offline
                    ZurdoDev
                    wrote on last edited by
                    #9

                    OriginalGriff wrote:

                    But do they do the function for which they were designed?

                    Hey, give me a break. I'm only one man. :-\

                    Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                    1 Reply Last reply
                    0
                    • C CodeWraith

                      Functional programming is loved mainly by eggheads, like my boss who has a degree in mathmatics. He also loves VB, so take that as a reference however you like. Long ago, I was tortured with LITHP and Scheme by egghead professors. Twice. That's enough for the rest of my life and I can easily live with not ever having to see that stuff again. Maybe aliens from Ceti Alpha love it, but I also suspect it's the reason why Ceti Alpha Six exploded.

                      I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                      C Offline
                      C Offline
                      CPallini
                      wrote on last edited by
                      #10

                      Quote:

                      degree in mathmatics. He also loves VB

                      That's OK. Mathmaticians, Madmaticians can actually love VB. On the other hand, proper Mathematicians can only distaste it. :-D

                      C 1 Reply Last reply
                      0
                      • C CPallini

                        Quote:

                        degree in mathmatics. He also loves VB

                        That's OK. Mathmaticians, Madmaticians can actually love VB. On the other hand, proper Mathematicians can only distaste it. :-D

                        C Offline
                        C Offline
                        CodeWraith
                        wrote on last edited by
                        #11

                        So you say that there are several distinct sorts of eggheads?

                        I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                        C 1 Reply Last reply
                        0
                        • N Nand32

                          Who's yet to open the book on this? This is one such topics where the whole world starts doing something about, but I keep it safe in my todo list. Just a quick question from the dummies perspective. 1. Will functional programming make all the OOAD concepts obsolete or it can get along well with OOAD? 2. What's your take? You like it?

                          F Offline
                          F Offline
                          Forogar
                          wrote on last edited by
                          #12

                          I'm a Programmer, I use functions in my code all the time. Tada!

                          - I would love to change the world, but they won’t give me the source code.

                          1 Reply Last reply
                          0
                          • N Nand32

                            Who's yet to open the book on this? This is one such topics where the whole world starts doing something about, but I keep it safe in my todo list. Just a quick question from the dummies perspective. 1. Will functional programming make all the OOAD concepts obsolete or it can get along well with OOAD? 2. What's your take? You like it?

                            R Offline
                            R Offline
                            realJSOP
                            wrote on last edited by
                            #13

                            Functional programming preceeded OOP. OOP is (I think) a better idea. Turbo Pascal started out as a functional language. Fortran is a fucntional lanugage. C is a functional language. Javascript is not functional, but it is a functional language. Visual Basic was a functional language. My problem with the sudden interest (by people who don't matter) in functional programming is that everyone thinks OOP should be abandoned, or that functional crap should be injected into the OOP paradigm. These people are, for lack of a better term, retards.

                            B 1 Reply Last reply
                            0
                            • N Nand32

                              Who's yet to open the book on this? This is one such topics where the whole world starts doing something about, but I keep it safe in my todo list. Just a quick question from the dummies perspective. 1. Will functional programming make all the OOAD concepts obsolete or it can get along well with OOAD? 2. What's your take? You like it?

                              P Offline
                              P Offline
                              PeejayAdams
                              wrote on last edited by
                              #14

                              Isn't it just what we used to do back in the UNIX days? String several hundred commands together with pipes and redirects and wonder why the script was so hard to debug.

                              Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain

                              1 Reply Last reply
                              0
                              • N Nand32

                                Who's yet to open the book on this? This is one such topics where the whole world starts doing something about, but I keep it safe in my todo list. Just a quick question from the dummies perspective. 1. Will functional programming make all the OOAD concepts obsolete or it can get along well with OOAD? 2. What's your take? You like it?

                                R Offline
                                R Offline
                                raddevus
                                wrote on last edited by
                                #15

                                I've thought about this same thing myself quite a bit. OOAD (OOP) is a tool. Functional Programming is a tool. Most of the time you read things about how one tool or the other solves all problems. But that is the same as thinking that a hammer solves all problems. There are concepts from both things that can make your code better. OOP / OOAD is really a way of organizing your code. It is not really more than that. But authors had to write books and those books had to meet a minimum length of pages so it exploded! Functional Programming (FP) did the same thing: exploded in publication. But again, Functional Programming contains some concepts that are novel and helpful. The one big concept from FP is the idea of "No Side Effects". Managing state while concurrent processes are running is a challenge. FP has exploded because concurrent processing has exploded in hardware. Suddenly you need a way to guarantee that you're not overwriting what another "thread" of execution is doing. So, as we consider Foundational Concepts of programming paradigms we see that the two (OOP and FP) can be very useful together. One for organizing your code. The other for managing state in a concurrent environment. Here's a very nice article I just googled that talks about Core Functional Programming Concepts[^]

                                M 1 Reply Last reply
                                0
                                • C CodeWraith

                                  So you say that there are several distinct sorts of eggheads?

                                  I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                  C Offline
                                  C Offline
                                  CPallini
                                  wrote on last edited by
                                  #16

                                  I see you don't like mathematics people. :laugh:

                                  C 1 Reply Last reply
                                  0
                                  • C CPallini

                                    I see you don't like mathematics people. :laugh:

                                    C Offline
                                    C Offline
                                    CodeWraith
                                    wrote on last edited by
                                    #17

                                    Nah, I just don't want to be assimilated and become an egghead myself.

                                    I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      for mine it's something everyone talks about as the new sliced bread, and later all but disappears into some niche, like lisp or prolog, or even forth.

                                      Message Signature (Click to edit ->)

                                      S Offline
                                      S Offline
                                      stoneyowl2
                                      wrote on last edited by
                                      #18

                                      Hey, forth had its place :). I had gainful employment for over a year working in forth for the Anchorage AK International airport on their vehicle gate security systems. Forth did what it was originally designed for (device and instrument control) reasonably well.

                                      A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

                                      F 1 Reply Last reply
                                      0
                                      • S stoneyowl2

                                        Hey, forth had its place :). I had gainful employment for over a year working in forth for the Anchorage AK International airport on their vehicle gate security systems. Forth did what it was originally designed for (device and instrument control) reasonably well.

                                        A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

                                        F Offline
                                        F Offline
                                        Forogar
                                        wrote on last edited by
                                        #19

                                        Was Forth a fourth generation language? Can you imagine interpreting a job requirement that says what is needed is, "Go, Forth and Javascript".

                                        - I would love to change the world, but they won’t give me the source code.

                                        G S B 3 Replies Last reply
                                        0
                                        • F Forogar

                                          Was Forth a fourth generation language? Can you imagine interpreting a job requirement that says what is needed is, "Go, Forth and Javascript".

                                          - I would love to change the world, but they won’t give me the source code.

                                          G Offline
                                          G Offline
                                          Gary Wheeler
                                          wrote on last edited by
                                          #20

                                          Forogar wrote:

                                          "Go, Forth and Javascript"

                                          Why does my brain read that as "Go :elephant: yourself"?

                                          Software Zen: delete this;

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups