Reply to Re: how do professional PHP developers handle defaults for function parameters?

Your name:

Reply:


Posted by Jerry Stuckle on 07/07/07 13:21

pangea33 wrote:

<snip>

>
> Any "professional" programmer who relies on the vast repository of
> *documentation* present in most projects in industry is either an
> idealistic novice, or EXTREMELY fortunate for the places they've
> worked.
>

Sorry, I completely disagree here. I've managed projects from a single
programmer (me) to over 100 programmers.

Any "professional" programmer will include the documentation as part of
the project. It's part of the job. And anyone who doesn't document
isn't much of a programmer. Or, on a larger project, most of the design
will be created by designers.


> Here is a brief example of my technique...
>
>>From a calling page:
> --------------------
> if ($rsVideoListObj->videolistid > 0) {
> $videoListVideoStruct->videolistid = $rsVideoListObj->videolistid;
> $rsVideoListVideos = getVideoListVideos($videoListVideoStruct);
> }
>

And I agree with Iván. You're approach looks huge and unwieldy. Much
better to make it more modularized.

And P.S. - please don't top post.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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