Support for Functional Programming Paradigms #1687
Replies: 3 comments
-
There has been a lot of discussion about lambda functions, semantics and syntax on the Discord lately, would definitely check it out if you're interested. |
Beta Was this translation helpful? Give feedback.
-
I'd wager that such an effort would be much further down the road than where we are now, which is still in syntax specification type stuff. I can definitely see it happening, though. |
Beta Was this translation helpful? Give feedback.
-
In fact, c++ has a lot feature to handle functional programming. But the functor pattern is not famous at all. It's only because the feature is not famous. I used the pattern in one of my personal project and it was really good. But I've almost never seen it anywhere else. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I think that it might be a really good and nice idea to implement some of the Functional Programming Paradigms to Carbon such as: Pure Functions, First Class/Higher Order Functions and etc. to add a bit of more variety of possible patterns.
Hoping that other fellow Functional Programming Devs accepts this idea.
Edit: naturally the paradigms must be optional so that oop devs are not offended ;)
Beta Was this translation helpful? Give feedback.
All reactions