4 ms·
Developper productivity is order of magnitude more important than performance on most software. Dynamic typing is by design more productive at first. Static ty
by The_rationalist 7y ago
Developper productivity is order of magnitude more important than performance on most software.
Dynamic typing is by design more productive at first.
Static type systems might allow better productivity on the long term (maintenability, scalability of à big, complex codebase).
If this advantage of static typing is a myth, or a truth (and by how much does it increase average productivity, for which project size?) is a really interesting question and I don't know any scientific study on the topic.
I did read a study that showed that static types catch only a few percentage of bugs and that practices such as systematic code reviews, documentation/comments, unit testing and integration testing, and methods such as TDD, each of them has a far bigger impact than static typing.
(it would be nice if they had measured too the impact of fuzzing, analytics, debuggers and language features such as having a GC).
This study does not say that using all those practices obscolete the need of static typing but it show the irrationality that many "purist/religious" developpers have by claiming writing a program in a dynamically typed language is a maintenance nightmare while not saying anything about enforcing the said practices despite them having empirically a far bigger impact on bug catching and thus "code quality".
- sethammons 7y agoHaving cut my professional teeth on php, perl, ruby, and python, I find no reduced speed working in Go. In fact, I think it is faster to develop in Go. The only time this is not the case is very simple run-once scripts where I don't need tests, and even then I'm not convinced that python is faster.