Functional languages like F# and Scala are becoming popular. Do these types of functional languages make it easier to write higher quality software that requires less testing. In other words, is it easier to write "correct" software that has fewer bugs?
|
|
Correctness is subjective. Whether or not software is 'correct' depends on your idea of correctness. WRT F# and Scala, they are just programming languages. There are benefits and limitiations for the various programming languages. When used by competent developers various programming languages can be employed very effectively in the appropriate context to help develop software solutions. In a nutshell, it's not the programming language as much as it is the competency of the developer using the language and the context in which it is being used. |
|||
|
|
|
Functional languages may make it harder to create some kinds of bugs (e.g. bugs due to misunderstandings about side effects). Of course language acquisition has a learning curve, and there may be more bugs rather than fewer while a developer reaches a certain skill level. |
|||||||
|