Re: Strict types
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Strict types

From: Steve Chapel <schapel@pixelgate.net>
Date: Thu Mar 30 2006 - 17:02:09 CEST

Treefrog wrote:
> Hi All,
>
> For a while now I've been wishing PHP had (at least the option to
> enable) strict types. It would help a massive amount in BIG
> applications, and maybe start to taper the millions of lines of crap
> code that's out there.

Generally speaking, PHP is a scripting language. Scripting languages are
great for one-off projects and small programs, but become unwieldy in
big applications, larger than a few thousand lines. For larger projects,
I would suggest Java, which has strict typing and encourages
object-oriented programming and modularization.
Received on Mon May 1 02:45:03 2006