by ReflectedImage · 3y ago · 0 comments
There are plenty of academic sources that will tell you that the number of bugs in a program is directly proportional to the number of lines in the program and static typing has no effect on this.
https://stackoverflow.com/questions/2898571/basis-for-claim-...
Additionally, statically typed code involves large amounts of boilerplate code in the form of abstract base classes, interfaces, generics, templating, etc. It's a very verbose code style.
It's your turn, find an academic source to backup your claim that static typing reduces the number of bugs. Cause it just isn't true.
Microsoft, google and Facebook have a lot of programmers coming from languages with static typing and want to make Python more familiar.
It's a far distance away from anything resembling good practice.
Actual Python houses typically don't use static typing.
> Actual Python houses typically don't use static typing.
If you had ever developed python professionally, you'd know this to be untrue.
Also your "paper" points to a 404 page.
Given that type hints are a new language feature in Python, please explain to me how these Python houses used static typing when type hints didn't exist?
I'm all ears.
They've existed since 2015… please explain me how 2015 is "new"?