top | item 13766715

(no title)

mlmlmasd | 9 years ago

Type-checking doesn't really have any bearing on weather a language is functional. Functional languages can be statically or dynamically typed.

discuss

order

Sammi|9 years ago

It's one of the big differences between the lisp and ml types of functional languages I would say. Other than the parentheses that is of course :)

I've never been comfortable doing big projects - multiple files, more than a few hundred lines of code - in a dynamically typed language. It's the same reason were seeing the big uptake of typescript. Statically typed languages give us so many superpowers when we need to do refactoring or any changes at all to an existing codebase. Just changing a function name in a dynamically typed language can be hell. Rearranging the parameter order is even worse, cause you have such trouble finding all of the function uses and where you need to update. With statically typed languages you get editor support for simple stuff like this and it becomes automatic and a push of a button almost.

mlmlmasd|9 years ago

Static typing is great. My point is that whether a language is statically or dynamically typed has no bearing on whether it is functional.