Because everyone wanted C++ to be a functional programming language?
-
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.
-
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.
"Reminiscent" is in the eye of the beholder?
-
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.
I thought that after javascript functional programmers, nothing will surprise me. But here it is.
-
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.
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
-
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.
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 .