You are here: Re: Strict types « PHP Programming Language « IT news, forums, messages
Re: Strict types

Posted by Treefrog on 03/30/06 18:23

Steve Chapel wrote:
> 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.

No no, I can already code c# (so probably Java too), that has strict
types and great oo support, but I've grown up using PHP, all my
professional career has been mainly PHP based and I want to stay with
the language. I've seen it evolve to inlcude basic OO support, then
more advanced OO....

Once upon a time, PHP was a scriting language, but it's more than that
now. For example, I'm currently working with a 500,000 line 100% PHP
application. Because 95% of it is built on poor coding, it's nearly
impossible, certainly futile to try to impliment standards into it. I
was just trying to think of/ask for ways in which situations like this
can be stopped in the future. Which, I think needs to happen for PHP's
future. I've worked in quite a few places, and with quite a few other
developers, and they seem to agree; PHP code is nearly always messy
crap.

But it doesn't have to be.

 

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

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