4 ms·
>Type systems to me seem to be (I'm not exaggerating) the answer to all software reliability problems (barring social ones). Yes, but they increase delivery ti
by coldtea 9y ago
>Type systems to me seem to be (I'm not exaggerating) the answer to all software reliability problems (barring social ones).
Yes, but they increase delivery time problems and developer time problems.
In the end, the industry has decided getting something out cheaper and faster is worth more than getting it out correct code-wise but later or more expensively.
Which might make perfect sense -- what's correct depends on business needs -- and some layers might be totally irrelevant (e.g. program design) as to that.
>Personally, I don't understand people arguing against type systems on principle. Sure, they are type systems that suck (e.g. Java) or are otherwise very verbose and thus straining. But that doesn't have to be the case, it's not an intrinsic property of type systems.
No, but not liking type systems might be an intrisic property of some programmers.
- SomeStupidPoint 9y ago> No, but not liking type systems might be an intrisic property of some programmers I wish they'd stop writing shitty, ad hoc type systems into our production code, then.
- magice 9y ago>Yes, but they increase delivery time problems and developer time problems. That's purely guesswork. Seriously! My observation is that as the size of the project grows, type system switches from hindrances to actually speed up development and save developer time. Ever try to grep weakly typed system for name definition? Yeah, you don't have that problem in strongly typed system. Lots of other reasoning are easier to do with types than without.
- sheepmullet 9y ago> Ever try to grep weakly typed system for name definition? For what purpose?
- coldtea 9y agoTo understand a codebase?
- sheepmullet 9y agoI haven't had any problems jumping around large codebases in smalltalk, clojure, or JavaScript. I've had a lot more trouble understanding large Java codebases. I thought they might be talking about difficulty refactoring.
- jlg23 9y ago> Yes, but they increase delivery time problems and developer time problems. Only in the first day or so. In my experience, that time is gained again several times over in the first medium refactoring.