by ReflectedImage · 2y ago · 0 comments
You can easily find information on duck typed programs being significantly shorter and that statically typed and ducked typed programs have the same bug count per line. You can also look at the language defective tables showing ducked type Clojure as having the least bugs in commerical software and statically typed C++ having the most bugs in commerical software.
Google is your friend here.
If you're not going to bring bold numbers to support bold claims, why should any of us bother listening?
I mean you could always try to find some sources to try and prove me wrong if you want?
"I mean you could always try to find some sources to try and prove me wrong if you want? "
That's not really how it works though. If you make a claim, either you back-it up or it's irrelevant.
Case and point: I believe that a flying tea pot created the universe. By your logic I am right and it should be up to you to prove me wrong.
So to conclude this argument, if you are correct, you should prove it as the person who responded to you asked you to do.
Failing that,your comment goes back to being nothing more than your opinion instead of a fact.
If s/he thinks that what I'm saying is wrong so strongly then they can go back that up with something. They will obviously fail terribly because I'm correct but that is their choice.
"Number of bugs will drastically increase" is simply wrong.
Type checking prevents bugs before they ship.
Type checking mostly shows that code can be compiled successfully. The thing it was designed to do.
i've read some of these studies, they don't prove much. it's typically languages with inexpressive type systems like java.
>Type checking mostly shows that code can be compiled successfully. The thing it was designed to do.
what languages are you thinking of when you say things like this? these debates are useless because one person is thinking of the type system of language X and the other person is thinking of language Y. a lot of heat but little light.