Re:Functional programming is not popular because it is weird...
by gpderetta on Tuesday September 14, 2021 @06:00AM
(#28522443)
Is also very common and I would say it counts, especially if the language support something like extension methods.
[ Parent
| on HN ]
Re:Functional programming is not popular because it is weird...
by chriswarbo on Tuesday September 14, 2021 @07:50AM
(#28523274)
> especially if the language support something like extension methods
Extension methods are a bit of a hack (although useful!); a cleaner approach is https://en.wikipedia.org/wiki/Uniform_Function_Call_Syntax although I've not personally used a language which supports it :(
Re:Functional programming is not popular because it is weird...
by gpderetta on Tuesday September 14, 2021 @08:37AM
(#28523806)
I'm a big fan of UFC myself.
Re:Functional programming is not popular because it is weird...
by chromatin on Tuesday September 14, 2021 @10:50AM
(#28525709)
I don’t know if I would say it’s very common(?) but it was introduced as a named concept (“uniform function call syntax”) AFAIK in D and is also a feature of Nim
https://tour.dlang.org/tour/en/gems/uniform-function-call-sy...