News for hackers. Stuff that matters.
Re:I like strong typing and compilation errors by derefr on Wednesday May 05, 2010 @11:06PM (#1323412)
> but for a project of more than 2000 lines, I'd be hard-pressed to see a case where dynamic typing wins

Would "the game-world model for a MUD/MOO" be a cheap shot?

Re:I like strong typing and compilation errors by pw0ncakes on Thursday May 06, 2010 @07:06AM (#1324111)
Explain.

Large projects are certainly doable in dynamically-typed languages. I just think that static typing becomes a win once you have:

* enough code that internal interfaces become important,

* enough code that at least 30% of time is spent debugging, and:

* more than one programmer on the project by necessity.

Re:I like strong typing and compilation errors by derefr on Thursday May 06, 2010 @06:38PM (#1325973)
In the world model popular in a http://en.wikipedia.org/wiki/MOO, almost every object has its own unique set of "verbs" (methods), which each destructively update the world in manifold unpredictable ways. There are no real "classes" of objects, per se, as having more than one of a world object that acts in exactly the same way ruins its "mystique" or "sense of fun"; instead, objects are created first through prototypical inheritance (cloning), and then by defining singleton methods (and adding mix-ins composed thereof), each of which may have originated within any other object. Objects survive mostly by memetic transmission (see an object you like, retain a clone for yourself) rather than some sort of unified architecture.