Re: Discussion concerning [POLL] Sequences of types

new topic     » goto parent     » topic index » view thread      » older message » newer message

Juergen Luethje wrote:
> 
> Well, actually it will also allow programs to run faster when type-
> checking is switched on and there is no crash. In those cases, debugging
> would be considerably faster for certain programs. This makes it more
> convenient for programmers to switch type-checking on for debugging, and
> so will encourage them to actually do so. This can help to find bugs and
> so make their programs safer.
> I think a good overview about the pros and cons is in Robs first post in
> the current discussion about UDTs:
>
> http://www.openeuphoria.org/cgi-bin/esearch.exu?fromMonth=6&fromYear=C&toMonth=8&toYear=C&postedBy=Robert+Craig&keywords=22%3A26+type

Yes, I agree with that, however, my personal assessment (as someone who has
extended/maintained the interpreter) is that the following statement of 
Rob's dominates the equation:

  * It seemed at the time to be a fair bit of work, and extra 
    baggage added to the language, for just a small gain.

I'm happy to be proved wrong, however.  I suppose one nice benefit is that
you could do a lot more (in an easier fashion ) at compile time, even in
the interpreter, to catch bugs much sooner.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu