Re: foreach routine

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

duke normandin wrote:
> 
> Chris Bensler wrote:
> 
> > 
> > Good programming practice is to always trap error conditions whenever you
> > can.
> 
> I agree! But how often you need to trap errors depends on the language you are
> using and the number of lines of code you need to generate to get something
> done.
>  
> > I get the impression though, that you meant that you don't want to have to
> > do
> > the error testing all the time. Make a routine that takes care of it for you
> > instead.
> 
> That's what I meant. As a EU novice, I'm quickly seeing that my coding style
> and practices *need* to be different than those I was using with Perl and
> PHP.

Once you have your 'EUreka!' moment, things will start to click quickly :P


> That said, I've been doing CGI / Web / SQL stuff since 1996 using Perl mostly.
> I
> know how the CGI and back-end stuff works!! I just need to learn to do it
> correctly "the EU way". ;)) Nice collection of functions BTW!! I'm sure they
> get the job done. Can't wait to put it all together and try it out. Thanks
> for the input!
> --
> duke

Sorry, I didn't mean for it to sound preachy. I can tell that you know web
programming and I look forward to the contributions I'm sure you will be making
in no time :)

You are right in thinking that there appears to be alot of 'hoops' to jump
through when using Euphoria. Don't let it turn you away though. Eu is an
excellent language. Eu's greatest hurdle is to get more people to use it, so we
have more people contributing quality code and banging heads.

This thread is precisely why I started the thread about standardized euphoria
and this issue is why I have been working on a design and implementation of an
improved set of standard includes for quite a long time. Something like a CGI
library should be a part of the standard includes (guess where I ripped the cgi
functions I pasted for you? ;). People shouldn't have to construct a hammer
before they can build a house and I hope I can help to resolve that for us.
Anyways I'm getting off topic.


Chris Bensler
~ The difference between ordinary and extraordinary is that little extra ~
http://empire.iwireweb.com - Empire for Euphoria

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

Search



Quick Links

User menu

Not signed in.

Misc Menu