Re:OOP vs. FP
by trendia on Sunday April 30, 2017 @09:08PM
(#14234853)
Maybe I'm mistaken... but at least in C++ the implementation of Foo::Bar() is similar to Bar(Foo):
So while Bar(Foo) could be passed as several ways:
there isn't really a huge distinction between the two except for syntax and locality within the source file. (That is, class methods are all defined in the class and can't be spread across multiple header files).
[ Parent
| on HN ]
There are no comments on this comment yet.