I agree with you. For me, scala is the way forward. I honestly can't look back. Everything is just a pile of you know what.
Still, I think people like the fact that they can do duck typing and not have to get into hairy inheritance models that don't make sense. That stuff can and does get complicated, and the duck typing solution is actually pretty simple. Having said that, there are ways to get duck typing semantics in a static typing language like scala ;) I do think a pure OO solution, especially one where you can only inherit from one class and are unnecessarily forced into using visitor patterns and composition, will get run down by structural bloat as it grows in size. Few people will have the discipline and expertise to keep adding features and maintain that application properly. I think a large part of why people don't like static typing languages is that they usually don't enforce any design of any kind. So... pardon my language... but morons are able to use it and make programs. That's a good thing, and a not so good thing... depending on what the purpose of the application is. Mostly though, dynamic languages make some things easier to create, but then harder to maintain and test. I think when people say they are more productive, it's a lie. They will pay the cost as they test, because they will need to test types of everything. This is a big investment of time, and compared to java, c# or scala, you get this for free. Anyway, I hope I answered your question. And yeah, I definitely prefer languages like Java or Scala over PHP. On Apr 22, 2:06 pm, scphantm <[email protected]> wrote: > ive been looking a few languages the past few days, groovy, ruby being > the big two. i see all over the web people praising the world of > dynamic type languages and the same question keeps ringing in my head, > WHY IN THE WORLD WOULD YOU WANT A DYNAMIC TYPING LANGUAGE???? i came > to java from the VB and PHP world. both of those are dynamically > typed and it was that one thing that drove me nuts. especially in > working with teams of developers. when i moved to java and its static > typing system, everything finally made sense, tweetie birds were > flying, humming birds were humming around around and i was in love, i > found a language that is quick and has inherent type checking built in > at compile time. > > i just remember the disasters and amount of bugs that occured with me > in the dark days of (god help me) asp, vbscript, and to an extent PHP > and don't understand why anyone in their right mind would not want > their language of choice to be statically typed? ive heard the answer > of, well its easier, in this case in my mind easy=lazy. i don't get > it, please educate me. > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/javaposse?hl=en. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
