News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Michael Kimsal's Blog:
PHP, Groovy and language evolution
May 29, 2008 @ 12:52:07

In a new post Michael Kimsal does a good job comparing the rise of PHP5 (and what it brought with it) to his language of choice these days - Groovy.

I remember when PHP5 first came out having 'discussions' with a number of people who insisted that PHP5 was way better than 4. [...] Basically, intentions were made clearer with things like "public protected private" (PPP),but I have not yet seen any web project get done faster or dare I say even much *better* due to those sorts of things. [...] This isn't specifically saying PPP is necessarily bad, but that PHP could have addressed the issue in a fashion more suitable to dynamic languages. Keep reading for an example.

His comparison is to how Groovy handles properties in a class - everything is private unless declared otherwise. This could be ported (somewhat) over to PHP and would eliminate the need to search&replace all over the code for the right variables.

1 comment voice your opinion now!
groovy java language evolution php5 private public protected


blog comments powered by Disqus

Similar Posts

Community News: PHP 5.3beta1 Announced

W3Techs.com: Highlights of web technology surveys, Nov. 2010: 3/4 of all websites are based on PHP

php|architect: New Object Oriented PHP Book

Travis Swicegood: Fluent-API, here I come!

John Maver's Blog: How to create a Bebo application using PHP 5


Community Events

Don't see your event here?
Let us know!


language community symfony library extension api threedevsandamaybe series voicesoftheelephpant unittest laravel interview opinion framework introduction version security podcast laravel5 release

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework