Re: [AppDB] naming convention

2004-12-28 Thread Jonathan Ernst
What type of conversion do we need if we don't use strings and integer as booleans but rather use if(isset($variable)) instead ? The only implicit conversion I see is when we do: echo "There are $iSomeInteger maintainers"; but that's not a problem I think. Le mardi 28 dÃcembre 2004 Ã 11:54 +010

Re: [AppDB] naming convention

2004-12-28 Thread Paul van Schayck
Hey, On Tue, 28 Dec 2004 00:42:11 +0100, Jonathan Ernst <[EMAIL PROTECTED]> wrote: > constants will still be uppercase without prefix. > > Do someone object this ? If we really have to. And if you both think it's a good idea I'll use it. It's better than the original idea ($str_foo). And no one

[AppDB] naming convention

2004-12-27 Thread Jonathan Ernst
As discussed with Chris and others on IRC we'd like to use a new variable naming convention in AppDB code. The proposed scheme is the following ("hungarian notation"): handles: $hSomeHandle integer: $iSomeInteger objects: $oSomeObject arrays: $aSomeArray strings: $sSomeString and so on. constan