News Feed
Sections




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

Jani Hartikainen's Blog:
Base classes in OOP programming languages
November 19, 2008 @ 16:10:58

Jani Hartikainen has followed up on a post from David Otten about standard classes in PHP and how they provide the base for much of what the language does.

David Otton posted a short but thought-provoking post about stdClass, which many think is the "base class" all PHP classes automatically inherit from. I have to admit that I had this misconception as well. [...] This [difference in PHP from other OOP languages] presents some room for analysis in how things are handled in dynamic and static languages, and how those differences affect things...

Jani talks about dynamic and static typing in languages and how that effects the base types things are extended from as well as some of the benefits that having a standard base class affords developers.

0 comments voice your opinion now!
base class programming language oop stdclass standard inherit


blog comments powered by Disqus

Similar Posts

Lukas Smith's Blog: Pre-announcing the TestFest

DevShed: Using Introspective Methods with the DirectoryIterator Class in PHP 5

Anthony Ferrara: Foundations Of OO Design

Loosely Coupled Podcast: Episode 2: My Code Is Perfect

eWeek: Microsoft Hosts Project to Run PHP on .Net


Community Events

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


wordpress series php7 voicesoftheelephpant podcast extension library introduction community unittest opinion framework laravel laravel5 interview version example release language api

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