Re:How many lines of code is Candy Japan?
by adamnemecek on Friday September 30, 2016 @07:10PM
(#12615784)
> One disadvantage is that static typing causes more lines of code than dynamic code.
Not if the statically typed language uses inference.
Re:How many lines of code is Candy Japan?
by sytse on Friday September 30, 2016 @07:18PM
(#12615798)
That would be the best of both worlds indeed. Hope we get this for Ruby https://codon.com/consider-static-typing
Re:How many lines of code is Candy Japan?
by saurik on Saturday October 01, 2016 @02:12PM
(#12619124)
The seminal languages with static typing had this feature, so I feel it does the field a disservice to say "the best of both worlds": there are a few annoyingly popular statically typed languages which don't have this property, and they should be considered deficient to the extent to which it is not for theoretical type depenence reasons.
We're not missing static typing as far as I know. We still are able to ship a lot of changes every month. I'm not sure if it is our structure (idiomatic Rails), test coverage (over 85%), something else, or maybe we should miss it but don't realize it.
One disadvantage is that static typing causes more lines of code than dynamic code. And code size is the best predictor of code quality http://blog.vivekhaldar.com/post/10669678292/size-is-the-bes...