From: Chris C. <qua...@re...> - 2008-09-16 08:39:47
|
On Tue, 16 Sep 2008 Jeremy Cowgar wrote : >Chris Covier wrote: > > > > On Tue, 16 Sep 2008 Jeremy Cowgar wrote : > > >There is a very old and well accepted practice of "crash early, crash > > >often. > > > > > >Euphoria should adhere to that common, desirable practice. > > > > > >Jeremy > > > > Isn't "antique" or "obsolete" a more suitale word? > > > >The standard practice in Euphoria is crash early, crash often. It is a >common, desirable practice to do so. Desiraable??? Oh, you are right, that's how Microsoft software usually works. Actually "worked", they have gradually improved over time. > Certainly not an antique or >obsolete practice. Currently: > >C:\Users\Jeremy>cat hello.e >sequence a = "John" >? a[1..50] > >C:\Users\Jeremy>exwc hello.e > >hello.e:2 >slice ends past end of sequence (50 > 4) > > >So, > >sequence a = "John" >remove(a, 1, 50) > >Should: > >hello.e:2 >slice ends past end of sequence (50 > 4) > >PERIOD. This is so simple!?! Is this **really** what we are debating >here? Yes or No? > >Jeremy This is an option. And then we don't even need any of the four routines in the spotlight, and keep using slices, which give you this so important early, unneeded crash. CChris > > >------------------------------------------------------------------------- >This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >Build the coolest Linux based applications with Moblin SDK & win great prizes >Grand prize is a trip for two to an Open Source event anywhere in the world >http://moblin-contest.org/redirect.php?banner_id=100&url=/ >_______________________________________________ >Rapideuphoria-develop mailing list >Rap...@li... >https://lists.sourceforge.net/lists/listinfo/rapideuphoria-develop |