3 ms·
Use the simplest syntax and check the code works via unit testing like you should be doing. Don't statically type your code as it increases the bugs by a factor
by ReflectedImage 2y ago
Use the simplest syntax and check the code works via unit testing like you should be doing. Don't statically type your code as it increases the bugs by a factor of 3x typically.
- wiml 2y agoHow does statically typing your code "increase[] your bugs by a factor of 3x" when it has no runtime effect? What orifice are you getting the 3x from?
- ReflectedImage 2y agoTypically, software developers write 3x the number of lines of code when using static typing compared to duck typing. It's just the nature of the static typing code style. Write 3x the lines, get 3x the bugs. The programming language that has the least measured bug in practice is Clojure because it is duck typed and because it doesn't use OOP. Both static typing and OOP have a significant measurable negative effect on code correctness.
- stnmtn 2y agoClojure has the least measured bugs in practice? Where does that statistic come from?
- xen0 2y agoI too can invent numbers. My invented numbers say there's no meaningful difference in line counts between statically typed and dynamically typed languages. So how will we prove any of us wrong?
- deleted 2y ago[deleted]