4 ms·
Functional languages force you to be more correct, more often. Eliminates a bunch of classes of bugs which are anathema to scientific computing, and are general
by beisner 9y ago
Functional languages force you to be more correct, more often. Eliminates a bunch of classes of bugs which are anathema to scientific computing, and are generally so high level that compilers can optimize extremely aggressively. Also, scientific programming is usually much more about data flow and transformation, which is FP’s wheelhouse.
- sidlls 9y agoDo you have examples where it is the case that FP code yielded a superior scientific result?
- DaiPlusPlus 9y agoOutput results would be the same - that's concerned with program correctness, regardless of whether it's written in a function, object-oriented, or procedural paradigm. It should instead be compared with how long it took to engineer and build the system or program in a particular paradigm and the qualitative engineering aspects of a particular platform. FP may be amazing for certain areas, but a difficulty in basing a large-scale project or business on it would be hampered by the small supply of developers who can comfortably program in it.