PHP Magazine has a new link this morning about an article over on the Oracle Technology Network about moving from C++ to PHP.
In this article, the author connects the dots between C++ and PHP. In his examples, he starts out with classes and moves quickly into functions and other structures (such as switch), then on to using objects inside methods of the same class.
At first, syntactical differences may be irritating, but that will soon fade. [...] The longer I have been acquainted with PHP, the more I have come to realize that even though it differs from C++ by hundreds of details there is no conceptual gap between the two languages such as would render good practices honed by years of C++ inoperative.
There's some interesting points brought up near the end of this article - things that he misses (templates, pointers to functions) as well as the lack of public vs private classes...




