5 ms·
Types are generally a hindrance for a small scale app. They pay off when your working on an app that has 30-40 developers and millions of lines of code. Use t
by stormcrowsx 13y ago
Types are generally a hindrance for a small scale app. They pay off when your working on an app that has 30-40 developers and millions of lines of code.
Use the right tool for the job, and there are jobs where Types are the right tool.
- the_af 13y agoIs correctness less important in small scale apps?
- louthy 13y agoIt's easier to manage and have a mental picture of where something is likely to go wrong on a smaller project. Once your project gets to a certain size then it's nice when the compiler tells you ahead of time that you've screwed up. Because you will screw up.
- dragonwriter 13y ago> Types are generally a hindrance for a small scale app. I don't think that's true. I think that the ritual incantations to the type system required in, particularly, C++/Java-style languages are a hindrances that outweighs the benefits of static typing on very small projects. And the limitations of limited static type systems can also be a hindrance. But when you have a richer type system and/or type inference that reduces the necessary incantation, the size of project on which static typing becomes a net positive drops.