Questions, questions, questions...

From: Date: Tue, 10 Jun 2003 23:34:47 +0000
Subject: Questions, questions, questions...
Groups: php.general 
Request: Send a blank email to php-general+get-150984@lists.php.net to get a copy of this message
Ok - let the war begin... Question: Why doesn't the PHP community support using an Hungarian style of programming if it prevents errors?? I've gotten too darn many times now by a type mismatch using what the 'Bible' of PHP programming style recommends - PHP Coding Standard by Fredrik Kristiansen. I'm sorry - $MonkeyBrains doesn't tell me anything about what type is or what type it holds. $intMonkeyBrains DOES and I can tell instantly that $intValue shouldn't hold $strValue without a type coersion. (I know PHP will blindly stick the string in and replace the integer...) Question: Is there a better way in classes to access/modify var's other than get_var, put_var functions? Works great for me and I know whether I'm saving a variable or accessing it. Sure, I'd like to be able to use a VB style Set/Get property but who wouldn't?? Feel free to email me directly if this will generate a firestorm in the maillist. Robin E. Kopetzky Black Mesa Computers/Internet Services www.blackmesa-isp.net

« previous php.general (#150984) next »