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 ... 189 190 191 192 193 194 195 196 197 ... 371  | » ]
Erik Engbrecht

Posts: 210
Nickname: eengbrec
Registered: Apr, 2006

Re: Programming with "Duh" Typing Posted: Jul 18, 2007 8:09 AM
Reply to this message Reply
Advertisement
> > > Yes, and the code takes hours to run. It's not fun
> > when
> > > something is attacking item 99 million out of 100
> > million
> > > and blows up on a stupid typo because it just happens
> > to
> > > hit a codepath that the first 98,999,999 items didn't
> > > hit.
> >
> > No one uses interactive development? I am surprised.
>
> Can you explain how that would make a difference in this
> context? If it takes hours to hit the problem why would
> interactive development make that faster?

I think in LISP and maybe Smalltalk you could change the code and then restart execution rather than starting over.

But that assumes that the root cause of the error is where the error was raised (or close to it). Often times it is not (unless I stick in all my isinstance checks), so the actual error entered the application state an hour ago, the consequence just wasn't felt until later. But then in a Smalltalk environment I suppose you could go manual fiddle with the objects that have bad values.

I personally would still just start over. I'd eventually have to start execution from the begining, anyway, and such object twiddling gives me the willies.

Flat View: This topic has 370 replies on 371 pages [ « | 189  190  191  192  193  194  195  196  197 | » ]
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