DEV Community

Discussion on: Which contentious opinions in programming actually matter?

 
rbanffy profile image
Ricardo Bánffy

Typing also acts as a form of documentation. You know a certain function expects arguments of certain types and returns values that we expect to have a certain behavior.

Thread Thread
 
thorstenhirsch profile image
Thorsten Hirsch

I totally agree about the benefits of static typing. But I'm pretty sure that "static typing advocates" also know how their IDE benefits from static typing. It's actually their foremost argument.