Bluehost.com Web Hosting $6.95

RE: [PHP] dev style guide

This is a discussion on RE: [PHP] dev style guide within the PHP General forums, part of the PHP Programming Forums category; [snip] Just a remark but isn't it pointless to use Hungariannotation in a language that is by default typeless??? [/...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-06-2003
Jay Blanchard
 
Posts: n/a
Default RE: [PHP] dev style guide

[snip]
Just a remark but isn't it pointless to use Hungariannotation in a
language that is by default typeless???
[/snip]

We use it becuase we have a group of programmers, so the notation makes
it easier for one in the group to understand the intention of another in
the group. The notation also helps to clear up any casting issues that
may arise. http://us2.php.net/language.types.type-juggling

Reply With Quote
  #2 (permalink)  
Old 08-06-2003
Miles Thompson
 
Posts: n/a
Default RE: [PHP] dev style guide

At 11:27 AM 8/6/2003 -0500, Jay Blanchard wrote:
>[snip]
>Just a remark but isn't it pointless to use Hungariannotation in a
>language that is by default typeless???
>[/snip]
>
>We use it becuase we have a group of programmers, so the notation makes
>it easier for one in the group to understand the intention of another in
>the group. The notation also helps to clear up any casting issues that
>may arise. http://us2.php.net/language.types.type-juggling

And it helps when you get back up to speed when you revisit a project after
a few months.
Use of Hungarian notation has been a bit of a religious issue; use what
works and use it consistently.

Of course, if you come from the Flash world, it's likely a postfix (ugly
word!) rather than prefix.

Cheers - Miles

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0