Re: Need advices in choosing approach
- From: Leah <Lea0x.Diz@xxxxxxxxx>
- Date: Mon, 17 Dec 2007 01:01:09 -0800 (PST)
On Dec 17, 10:34 am, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:
On Dec 16, 7:25 pm, The Natural Philosopher <a...@xxx> wrote:
For this reason I tend to take a "mostly OO" approach. I put as much
code as possible in classes, but simple utility code that might be
needed anywhere in the package in unreleated classes may just end up
in standard functions.
While it seems to be logically fine to code using both procedural and
OO to mix around, but which methodology it is actually refering to?
I prefer an OO approach. I can do things more quickly in OO than most
procedural programmers. And the larger a project grows, the more I find
I reuse OO code. OTOH, I see comparatively little reuse of procedural
code (unless you count copy/paste).
Thanks for the great input.
Basically, to sum up, I supposed that PHP is a hybrid language, just
like C++, you can code in procedural and revert back to OO whenever
you like, of course not considering the code maintenance or reuse.
Will that be a serious problem in PHP just like 'do C++
procedurally' ?
Sorry if this question sound stupid.
.
- Follow-Ups:
- Re: Need advices in choosing approach
- From: The Natural Philosopher
- Re: Need advices in choosing approach
- From: Jerry Stuckle
- Re: Need advices in choosing approach
- References:
- Need advices in choosing approach
- From: Leah
- Re: Need advices in choosing approach
- From: Jerry Stuckle
- Re: Need advices in choosing approach
- From: Leah
- Re: Need advices in choosing approach
- From: Jerry Stuckle
- Need advices in choosing approach
- Prev by Date: Re: Why did this not give an error?
- Next by Date: Re: Post with redirect?
- Previous by thread: Re: Need advices in choosing approach
- Next by thread: Re: Need advices in choosing approach
- Index(es):
Relevant Pages
|
|