You are here: Re: Form validation « PHP Programming Language « IT news, forums, messages
Re: Form validation

Posted by Geoff Berrow on 11/13/06 16:49

Message-ID: <1163430484.409239.94080@h54g2000cwb.googlegroups.com> from
Jerim79 contained the following:

>How can you determine the resources that the code will use? Is there a
>measurable way to determine which code is more "efficient" in terms of
>resources?

Well I'd say it would be some intensive process such as image
manipulation. If the script constantly generated, say, thumbnails on
the fly instead of generating them once then subsequently using the
pre-generated image, then that would obviously use considerably more
resources. Speed differences are often discussed here, but often the
differences are small fractions of a second.
>
>You ask if the code is easy to follow, maintain and update? I would say
>that yes, it is, since even a beginner like myself figured out what the
>code was doing. However, certainly in any language there may be faster,
>harder to understand shortcuts to any solution that a beginner may not
>be aware of. Should we always strive to use a simpler method that
>everyone can figure out, or should we look to use the most advanced
>techniques that may be more efficient but alienate younger, less
>experienced programmers?

I'd say it was personal preference. I happen to think a bit of extra
verbosity is no bad thing if it improves clarity but obviously, mileage
varies.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация