News for hackers. Stuff that matters.
Re:Experiment: Unit testing isn't enough; You need static ty... by scott_s on Wednesday June 20, 2012 @10:25AM (#4137093)
I have not looked at the programs, but programs don't have to be long to be interesting. There are many "interesting" programs under 100 lines of code - and they can be important if they form the kernel of a larger program.

Also, the author responds to a similar point in his comments: http://evanfarrer.blogspot.com/2012/06/unit-testing-isnt-eno...

Re:Experiment: Unit testing isn't enough; You need static ty... by kingkilr on Wednesday June 20, 2012 @10:30AM (#4137120)
The author doesn't really respond to the point, he simply says they were non-trivial in complexity, which may be true, but that doesn't mean they're non-trivial in their dynamacism (is that a word?). Moreover it in no way responds to the claim that these codebases aren't very good.
Re:Experiment: Unit testing isn't enough; You need static ty... by lambda on Wednesday June 20, 2012 @10:56AM (#4137268)
Does it matter if "these codebases aren't very good"? Have you ever actually seen a good code base? Most code I've seen has some poorly written corners; something where someone was in a hurry, or didn't know what they were doing, or someone inexperienced with the project started working on it, or the like.

The point is, these were real-world codebases with substantial unit tests, and they had type errors that weren't caught by these unit tests.

Honestly, in several groups I've worked with, I've had trouble getting people to add unit tests even to code in dynamic languages. A codebase which already has substantial unit tests is likely to be better than average, on that basis alone.

This is about saying, in the messy real world, do unit tests actually make type safety obsolete. And the answer is, no, they don't, even code with fairly good test coverage can be improved by adding typechecking. Now, there is the question of whether writing in the dynamic language allowed people to write code faster (it's generally a lot easier to translate correct code once it's written than to write it in the first place); or whether some of the more highly dynamic features of dynamic languages benefit writing or deploying code.

Re:Experiment: Unit testing isn't enough; You need static ty... by evincarofautumn on Wednesday June 20, 2012 @12:05PM (#4137596)
Dynamicity or dynamicness.
Re:Experiment: Unit testing isn't enough; You need static ty... by dllthomas on Wednesday June 20, 2012 @02:11PM (#4138287)
What's wrong with "dynamism"?
Re:Experiment: Unit testing isn't enough; You need static ty... by evincarofautumn on Wednesday June 20, 2012 @04:43PM (#4138998)
I considered it, but dynamism refers to personality and philosophy, while dynamicity is just the condition of being dynamic.
Re:Experiment: Unit testing isn't enough; You need static ty... by dllthomas on Wednesday June 20, 2012 @07:32PM (#4139729)
The Wikipedia disambiguation for Dynamism (last edited in March) includes:

"Dynamism (computing), When any process in computer is using Dynamic management methods for its processing/computing/memory management/parallelism handling for being able to give more user friendly work that are more easy to interact and modify."

... for whatever that's worth.

Re:Experiment: Unit testing isn't enough; You need static ty... by saraid216 on Wednesday June 20, 2012 @06:29PM (#4139480)
Consider:

  staticity
  staticness
  statism
Re:Experiment: Unit testing isn't enough; You need static ty... by dllthomas on Wednesday June 20, 2012 @11:51PM (#4140469)
That doesn't work because statism comes from "state", not "static" - I don't think there's a comparable derivation for "dynamism".
Re:Experiment: Unit testing isn't enough; You need static ty... by papsosouid on Wednesday June 20, 2012 @10:56AM (#4137272)
If most code doesn't use "dynamacism" (we'll pretend it is a word), then it isn't an important value for most people. You are suggesting people should use dynamic languages to gain no benefit because some other software might in theory benefit from it.