RE: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Boyd, Todd M.
 -Original Message-
 From: Per Jessen [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 20, 2008 12:23 PM
 To: php-general@lists.php.net
 Subject: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of
 variable
 

---8---

 There's no flame-war brewing here at all, but whether or not you've
 served in any countrys armed forces, what you think of them and how
 they do their recruiting, is just way more OT than any javascript-only
 question.
 In fact, given the worlds divided view on the current use of e.g. the
 US
 armed forces, this OT subject itself is pretty inflammable.

THANK YOU. (Re: mixed opinions on the armed forces.) All we need now is for 
people to start debating religion.


Todd Boyd
Web Programmer




Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Dotan Cohen
2008/6/23 Boyd, Todd M. [EMAIL PROTECTED]:
 THANK YOU. (Re: mixed opinions on the armed forces.) All we need now is for 
 people to start debating religion.


Actually, I thought that the list has been, up until now, very
responsible and have kept politics out of it. People have mentioned
which armies we have served, with nobody accusing one another of
doing, well, what armies do. Which is typical as I have found that
soldiers very much respect one another's profession, regardless of our
feelings about the particular nation in question. It is usually the
civilians who resort to accusations.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


RE: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Boyd, Todd M.
 -Original Message-
 From: Dotan Cohen [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 23, 2008 10:59 AM
 To: php-general@lists.php.net
 Subject: Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of
 variable
 
 2008/6/23 Boyd, Todd M. [EMAIL PROTECTED]:
  THANK YOU. (Re: mixed opinions on the armed forces.) All we need now
 is for people to start debating religion.
 
 
 Actually, I thought that the list has been, up until now, very
 responsible and have kept politics out of it. People have mentioned
 which armies we have served, with nobody accusing one another of
 doing, well, what armies do. Which is typical as I have found that
 soldiers very much respect one another's profession, regardless of our
 feelings about the particular nation in question. It is usually the
 civilians who resort to accusations.

Dotan,

You are right. This list, above many others I have subscribed to in the past, 
has done a very good job about keeping it PHP-related and not branching off 
into a political flame war (or even a polite political discussion--if those 
truly exist).

I hold no ill-will towards any of you in any branch of any country's armed 
forces... but I have vehement opinions that I'm holding back for both of our 
sakes.

Regardless, let's turn this back around:

?php
echo Hello, politically-heterogenous world!;
?


Todd Boyd
Web Programmer





Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Dotan Cohen
2008/6/23 Boyd, Todd M. [EMAIL PROTECTED]:
 Regardless, let's turn this back around:

 ?php
echo Hello, politically-heterogenous world!;
 ?


To all those who insist that _all_ programs have bugs, behold this
wonder and repent!

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Daniel Brown
On Mon, Jun 23, 2008 at 11:05 AM, Boyd, Todd M. [EMAIL PROTECTED] wrote:

 THANK YOU. (Re: mixed opinions on the armed forces.) All we need now is for 
 people to start debating religion.

You missed this about a year or two ago.  Check the archives.

-- 
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Boyd, Todd M.
 -Original Message-
 From: Daniel Brown [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 23, 2008 11:23 AM
 To: Boyd, Todd M.
 Cc: Per Jessen; php-general@lists.php.net
 Subject: Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization
of
 variable
 
 On Mon, Jun 23, 2008 at 11:05 AM, Boyd, Todd M. [EMAIL PROTECTED]
 wrote:
 
  THANK YOU. (Re: mixed opinions on the armed forces.) All we need now
 is for people to start debating religion.
 
 You missed this about a year or two ago.  Check the archives.

Pass. :D


Todd Boyd
Web Programmer




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Daniel Brown
On Mon, Jun 23, 2008 at 12:04 PM, Boyd, Todd M. [EMAIL PROTECTED] wrote:

 You are right. This list, above many others I have subscribed to in the past, 
 has done a very good job about keeping it PHP-related and not branching off 
 into a political flame war (or even a polite political discussion--if those 
 truly exist).

Heh.  You obviously haven't been here very long (since May I
checked).  ;-P

We get into all kinds of discussions that aren't PHP-related.
Check the archives for the chicken vs. egg thread in Spring,
2007 which, if memory serves, continued in at least some form well
into Summer, 2007.

 I hold no ill-will towards any of you in any branch of any country's armed 
 forces... but I have vehement opinions that I'm holding back for both of our 
 sakes.

I think we all do.  There's no way around that.  However,
regardless of how a thread may go off-topic, the fact is that the
spirit of the community is without borders, without prejudice, and
without discrimination.  When we communicate (via this list or
whatever), we all exist only in bits and bytes, as black and white,
and we're all the same.  We're computer geeks.



The fact is, if you stick around long enough, you'll assimilate
with the group and find yourself more off-topic sometimes than a
toddler with ADHD amped up on caffeine.

We're a community --- some of us friends.  Not a tech support firm.

Thank [insert deity here].  ;-P

-- 
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Boyd, Todd M.
 -Original Message-
 From: Daniel Brown [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 23, 2008 11:42 AM
 To: Boyd, Todd M.
 Cc: Dotan Cohen; php-general@lists.php.net
 Subject: Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization
of
 variable
 
 On Mon, Jun 23, 2008 at 12:04 PM, Boyd, Todd M. [EMAIL PROTECTED]
 wrote:
 
  You are right. This list, above many others I have subscribed to in
 the past, has done a very good job about keeping it PHP-related and
not
 branching off into a political flame war (or even a polite political
 discussion--if those truly exist).
 
 Heh.  You obviously haven't been here very long (since May I
 checked).  ;-P

Indeed, I am an infant in the ways of php-general. :)
 
 We get into all kinds of discussions that aren't PHP-related.
 Check the archives for the chicken vs. egg thread in Spring,
 2007 which, if memory serves, continued in at least some form well
 into Summer, 2007.

Again, pass. Heh...
 
  I hold no ill-will towards any of you in any branch of any country's
 armed forces... but I have vehement opinions that I'm holding back for
 both of our sakes.
 
 I think we all do.  There's no way around that.  However,
 regardless of how a thread may go off-topic, the fact is that the
 spirit of the community is without borders, without prejudice, and
 without discrimination.  When we communicate (via this list or
 whatever), we all exist only in bits and bytes, as black and white,
 and we're all the same.  We're computer geeks.

While this is true, my mom told me I was cool. Just thought I'd throw
that out there.

 The fact is, if you stick around long enough, you'll assimilate
 with the group and find yourself more off-topic sometimes than a
 toddler with ADHD amped up on caffeine.
 
 We're a community --- some of us friends.  Not a tech support
firm.
 
 Thank [insert deity here].  ;-P

Absolutely. In fact, I think I'm fairly far-off right now. :) Either
way, I was just trying to shy away from
politically-and-theologically-charged conversations, I suppose. Nothing
wrong with a little banter to lighten the mood. As you said, this is not
a firm. It's a collection of people with their own individual ideas,
senses of humor, etc... and I celebrate that. I just hate seeing people
argue over stuff that, realistically, is nearly possible to sway one way
or another given someone's pre-conceived ideas.

I digress.

?php

foreach($php-general-subscriber as $subscriber)
{
$subscriber-spread_the_love();
}

?


Todd Boyd
Web Programmer

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Daniel Brown
On Mon, Jun 23, 2008 at 12:48 PM, Boyd, Todd M. [EMAIL PROTECTED] wrote:

 ?php

 foreach($php-general-subscriber as $subscriber)
 {
$subscriber-spread_the_love();
 }

Notice: Use of undefined constant general - assumed 'general' in
/home/obd2code/public_html/g.php on line 3

Notice: Undefined variable: php in /home/obd2code/public_html/g.php on line 3

Notice: Use of undefined constant subscriber - assumed 'subscriber' in
/home/obd2code/public_html/g.php on line 3

Warning: Invalid argument supplied for foreach() in
/home/obd2code/public_html/g.php on line 3.


(In actuality, you can't use dashes in a variable name.  You may
have meant to use an underscore [ _ ].)

-- 
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Dotan Cohen
2008/6/23 Daniel Brown [EMAIL PROTECTED]:
(In actuality, you can't use dashes in a variable name.  You may
 have meant to use an underscore [ _ ].)


IHateUnderscoresInVariableNames!

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Robert Cummings
On Mon, 2008-06-23 at 20:19 +0300, Dotan Cohen wrote:
 2008/6/23 Daniel Brown [EMAIL PROTECTED]:
 (In actuality, you can't use dashes in a variable name.  You may
  have meant to use an underscore [ _ ].)
 
 
 IHateUnderscoresInVariableNames!

iHateCapitalizedFirstLetterInVariableNames!

;)

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread tedd

At 8:19 PM +0300 6/23/08, Dotan Cohen wrote:

2008/6/23 Daniel Brown [EMAIL PROTECTED]:

(In actuality, you can't use dashes in a variable name.  You may
 have meant to use an underscore [ _ ].)



IHateUnderscoresInVariableNames!

Dotan Cohen



When I can't describe the variable better, I use underscores. I only 
use camel case for functions.


Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-23 Thread Daniel Brown
On Mon, Jun 23, 2008 at 1:23 PM, Robert Cummings [EMAIL PROTECTED] wrote:
 On Mon, 2008-06-23 at 20:19 +0300, Dotan Cohen wrote:
 2008/6/23 Daniel Brown [EMAIL PROTECTED]:
 (In actuality, you can't use dashes in a variable name.  You may
  have meant to use an underscore [ _ ].)
 

 IHateUnderscoresInVariableNames!

 iHateCapitalizedFirstLetterInVariableNames!

+1

I prefer camelCase over PascalCamelCase any day of the week.

Though I do not know why

-- 
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php