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. Because everyone wanted C++ to be a functional programming language?

Because everyone wanted C++ to be a functional programming language?

Scheduled Pinned Locked Moved The Lounge
c++comdockercollaborationfunctional
5 Posts 5 Posters 0 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.
  • J Offline
    J Offline
    jschell
    wrote on last edited by
    #1

    Say what? "But perhaps the most important benefit of ranges is that you can compose STL algorithms that operate on ranges in a style that’s reminiscent of functional programming." Documentation for C++20 Ranges - C++ Team Blog[^] (Link is from today CodeProject Daily Insider.) Seems like that would in fact be a reason that no one should be using it then.

    P B D B 4 Replies Last reply
    0
    • J jschell

      Say what? "But perhaps the most important benefit of ranges is that you can compose STL algorithms that operate on ranges in a style that’s reminiscent of functional programming." Documentation for C++20 Ranges - C++ Team Blog[^] (Link is from today CodeProject Daily Insider.) Seems like that would in fact be a reason that no one should be using it then.

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      "Reminiscent" is in the eye of the beholder?

      1 Reply Last reply
      0
      • J jschell

        Say what? "But perhaps the most important benefit of ranges is that you can compose STL algorithms that operate on ranges in a style that’s reminiscent of functional programming." Documentation for C++20 Ranges - C++ Team Blog[^] (Link is from today CodeProject Daily Insider.) Seems like that would in fact be a reason that no one should be using it then.

        B Offline
        B Offline
        Bohdan Stupak
        wrote on last edited by
        #3

        I thought that after javascript functional programmers, nothing will surprise me. But here it is.

        1 Reply Last reply
        0
        • J jschell

          Say what? "But perhaps the most important benefit of ranges is that you can compose STL algorithms that operate on ranges in a style that’s reminiscent of functional programming." Documentation for C++20 Ranges - C++ Team Blog[^] (Link is from today CodeProject Daily Insider.) Seems like that would in fact be a reason that no one should be using it then.

          D Offline
          D Offline
          Dan Neely
          wrote on last edited by
          #4

          The syntax is a bit gross (probably inevitable with as much baggage as the language is dealing with), but it felt reminiscent of LINQ which I do like.

          Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius

          1 Reply Last reply
          0
          • J jschell

            Say what? "But perhaps the most important benefit of ranges is that you can compose STL algorithms that operate on ranges in a style that’s reminiscent of functional programming." Documentation for C++20 Ranges - C++ Team Blog[^] (Link is from today CodeProject Daily Insider.) Seems like that would in fact be a reason that no one should be using it then.

            B Offline
            B Offline
            BernardIE5317
            wrote on last edited by
            #5

            i am rather fond of ranges . i utilize them over other means . they permit a consistent and similar means of managing containers of various types in a unifying manner .

            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