Don't feed the troll..
Php [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On a conceptual level, I for one am a great fan of the kludge.
Every piece of software is a trade off between performance and speed of
development.
You can have the fastest app in the
(From behind filing cabinet where I am ducking preparing for flames).
Is it just me or is there anyone else that thinks PHP suffers from not
being modular. Let me explain myself. If you write a module for a lot of
procedural languages it sits on the filling system and is called up when it
is
On a conceptual level, I for one am a great fan of the kludge.
Every piece of software is a trade off between performance and speed of
development.
You can have the fastest app in the world for $1,000,000 in development time
OR
you can write up a in-elegant solution in 5minutes ($50) and if its
At 4:48 PM +0200 10/4/01, [EMAIL PROTECTED] wrote:
(From behind filing cabinet where I am ducking preparing for flames).
Is it just me or is there anyone else that thinks PHP suffers from not
being modular. Let me explain myself. If you write a module for a lot of
procedural languages it sits
PHP on the other hand seems to load in ALL the code that MAY be run. i.e.
an include brings things in which are inside an if, even if the if equates
to false.
That's not true.
if(condition) include 'file';
That will only include the file if the condition is true. Very easy to
verify for
]
Subject: Re: [PHP] PHP is a Bloated Kludge, discuss!
PHP on the other hand seems to load in ALL the code that MAY be run. i.e.
an include brings things in which are inside an if, even if the if
equates
to false.
That's not true.
if(condition) include 'file';
That will only include the file
Exelent, as I said I was playing devels advicate, I like PHP a lot, I am
trying to get someone else to use it to and they came up with this stuff.
if(condition) include 'file';
Is exactly what I was looking for. As 'if () {}' loaded, or at least
parsed things I did'nt think another form
(From behind filing cabinet where I am ducking preparing for flames).
Is it just me or is there anyone else that thinks PHP suffers
from not being modular.
It is just you and some other people similar to you. Thought this
question was up for a while :-)
PHP on the other hand seems to
PHP on the other hand seems to load in ALL the code that
MAY be run.
i.e. an include brings things in which are inside an if,
even if the
if equates to false.
A quick check in the manual, it states that:
Unlike include(), require() will always read in the target
file, even if
'; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP is a Bloated Kludge, discuss!
PHP on the other hand seems to load in ALL the code that
MAY be run.
i.e. an include brings things in which are inside an if,
even if the
if equates to false.
A quick check in the manual, it states
To: 'Opec Kemp'; [EMAIL PROTECTED]
Subject: RE: [PHP] PHP is a Bloated Kludge, discuss!
PHP on the other hand seems to load in ALL the code that
MAY be run.
i.e. an include brings things in which are inside an if,
even if the
if equates to false.
A quick check in the manual, it states
conditionally load the function/files that
you want then you should use include().
Was the implication of the poster I replied to.
To the original I replied commenting each of his arguments, therefore I
knew his points.
Maxim Maletsky
www.PHPBeginner.com
--
PHP General Mailing List
12 matches
Mail list logo