Re:What are potential disadvantages of functional programming?
by guelo on Thursday July 27, 2017 @10:31PM
(#14871474)
Very much agree with your point 3. It's really a namespace issue with classes providing a natural division of the namespace. Also OO best practices over time have encouraged more modularization and encapsulation with heavier use of restricted visibility. At least in my experience functional code tends to pollute the global namespace with a bunch of not so obvious functions.
[ Parent
| on HN ]
Re:What are potential disadvantages of functional programming?
by TheNoseReaper on Friday July 28, 2017 @02:21PM
(#14876363)
It depends on the language but you often have the option of grouping functions accepting a specific input type in a dedicated module, and using them qualified.