note 93570 added to language.oop5.abstract

From: Date: Wed, 16 Sep 2009 19:00:47 +0000
Subject: note 93570 added to language.oop5.abstract
Groups: php.notes 
Request: Send a blank email to php-notes+get-160756@lists.php.net to get a copy of this message
This is a case study of how programmers never think alike if I've ever seen one. The truth must be bare. 1. Interfaces are a set of rules saying "Hey, if you implement me you must include these properties and methods in your class or else a fatal error!" You don't actually define the values of these properties or the statements of these methods in the interface. 2. Abstract classes are a set of "base" properties and methods that you can extend onto a more specific class. Though I'm still not sure why creating a normal class with these basic properties and methods would not suffice. ---- Server IP: 209.41.74.194 Probable Submitter: 64.252.32.24 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.abstract.php Edit -- https://master.php.net/note/edit/93570 Del: integrated -- https://master.php.net/note/delete/93570/integrated Del: useless -- https://master.php.net/note/delete/93570/useless Del: bad code -- https://master.php.net/note/delete/93570/bad+code Del: spam -- https://master.php.net/note/delete/93570/spam Del: non-english -- https://master.php.net/note/delete/93570/non-english Del: in docs -- https://master.php.net/note/delete/93570/in+docs Del: other reasons-- https://master.php.net/note/delete/93570 Reject -- https://master.php.net/note/reject/93570 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#160756) next »