Zitat:
|
Zitat von Basti Hi.
Ich mache durch Namenskonvetionen sichtbar, von welchem Type eine Variable ist: PHP-Code: <?php
$iNumRows = 42;
$fFactor = 3.24;
$sLabel = 'Something';
$bIsValid = true;
$aRoles = array('array_key' => $mFoo);
$cMode = DEBUG;
$mFoo = ? (mixed/unknown)
$DaoFactory = new DaoFactoy();
?> Was willst du nun aber genau sammeln? "Programmierstil" ist ja alle Mögliche...
Basti |
Exakt auch mein Programmierstil, bis auf eine kleine Änderung: Objekte kennzeichne ich ebenfalls mit $oObject, z.B.
PHP-Code:
<?php
$oDaoFactory = new DaoFactory();
?>