Earlier quoted context omitted.
Yes, but perhaps we it means we can stop bitching about each other's bullets of choice and get back to shooting.
That would be great if I could just work by myself, happily use Haskell and not worry about bosses mandating something really annoying like Python or Java. In fact, that's one of the main reasons I'm working at a tiny startup right now. But I digress; my main point is simple: since chances are your choice of bullet affects others' choices, especially in corporate settings, it would be much better if it were a good ch…
Static Typing is not enough
61–65 of 65 posts
Re: Static Typing is not enough
#62Earlier quoted context omitted.
Yes, but perhaps we it means we can stop bitching about each other's bullets of choice and get back to shooting.
I've got no time for bitching but I think serious attempts to study the pros and cons of different approaches are both welcome and needed in our profession.
Re: Static Typing is not enough
#63Yet another attempt to diminish the value of statically typed languages and the benefits that go along with them.
I'm question if you read the post because I didn't diminish anything. I did say that it is a tool in the fight of software validation however.
The title I submitted isn't great but, I can't seem to correct it.
Re: Static Typing is not enough
#64Earlier quoted context omitted.
That would be great if I could just work by myself, happily use Haskell and not worry about bosses mandating something really annoying like Python or Java. In fact, that's one of the main reasons I'm working at a tiny startup right now. But I digress; my main point is simple: since chances are your choice of bullet affects others' choices, especially in corporate settings, it would be much better if it were a good ch…
And "good choice" remains subjective. Round and round we go. Somebody stop this thing before I puke.
Re: Static Typing is not enough
#65Yes, static typing is not enough. Which is why a good statically typed language like Haskell also has great testing facilities. So you don't just write well typed code, but you also write unit tests (HUnit) and property-based tests (QuickCheck). The really neat bit is that static typing actually makes writing tests easier--QuickCheck is much easier to use in Haskell than it would be in some dynamically typed language…
QuickCheck is great and can be found in many languages - dynamic and static alike - nowadays. Another tool that is currently unique to Haskell and is easier to write tests for is Lazy/SmallCheck. SmallCheck shines in the left long tail of failure. Its core idea is based on a powerful principle: "If a program does not fail in any simple case, it hardly ever fails in any case." [] So SmallCheck works exhaustively to fi…