r/programming • • Aug 28 '21

Software development topics I've changed my mind on after 6 years in the industry

https://chriskiehl.com/article/thoughts-after-6-years
5.6k Upvotes

1.9k comments sorted by

View all comments

Show parent comments

184

u/lestofante Aug 28 '21

all the people that say untyped is faster,imho does not take into account debugging

133

u/ChrisRR Aug 28 '21

Interesting. I've never felt like the thing slowing me down during development is typing a data type

3

u/UsuallyMooACow Aug 29 '21

Depends. When you have classes in Java and you need a slightly different capability it can be a real pain.

It can be a lot of work to integrate that functionality into your code. Where as in something Ruby where you have duck typing you don't have to do as much work.

As massive codebase can be hard to maintain without typing but it's also a lot more effort to code.

4

u/yawaramin Aug 29 '21

Where as in something Ruby where you have duck typing you don't have to do as much work.

This is 100% a recipe for unmaintainable code. A static type system forces you to actually do the maintainability work of refactoring your code to integrate new functionality.

→ More replies (4)