The Artima Developer Community
Sponsored Link

Weblogs Forum
Programming with "Duh" Typing

370 replies on 371 pages. Most recent reply: Aug 8, 2007 9:54 AM by James Watson

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 370 replies on 371 pages [ « | 1 ... 202 203 204 205 206 207 208 209 210 ... 371  | » ]
James Watson

Posts: 2024
Nickname: watson
Registered: Sep, 2005

Re: Programming with "Duh" Typing Posted: Jul 19, 2007 6:33 AM
Reply to this message Reply
Advertisement
> My point is that static typing is reduntant, since you are
> going to test the code anyway.

Preventing errors is not what I consider to be the chief advantage of static typing as I have stated repeatedly in this thread. It is a strawman.


> Did you run the code? wasn't the error visible when you
> run it?

Again, yes, but the time it took was much much greater than than if I was using a static language.

> It depends if your language saved the old values. But even
> if it did not, you could pause the program, fix the error,
> then resume it.

You didn't answer the question. I would need to back up, perhaps thousands of stack frames. Otherwise the process would have to start over. Could I back the process up?

> It depends if your language saved the old values. But even
> if it did not, you could pause the program, fix the error, > then resume it.

But everything in the program depends on what came before in the current branch. This is worthless to me.

> I have been using statically typed languages at 99% of my
> programming efforts. I have only recently started playing
> with Smalltalk and LISP, and I have found productivity to
> triple.

This is approximately the same as my experience level with dynamic languages.

How much maintenance of dynamic code have you done? My experience (as I have repeatedly stated) is that the initial development is much faster but maintenance is much slower.

Flat View: This topic has 370 replies on 371 pages [ « | 202  203  204  205  206  207  208  209  210 | » ]
Topic: Programming with "Duh" Typing Previous Topic   Next Topic Topic: Python 3000 Plea for Help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use