Re: [PHP] Howdy (new in here)

2011-02-18 Thread D. Dante Lorenso
On 2/18/11 8:39 AM, Kirk Bailey wrote: Oh hey, that's a good point. All the stuff i saw so far indented 2 spaces. WHY? Can I just indent a TAB if my editor permits this? indenting 4 spaces (2 nests) is easy, but suppose I hit one extra space- not enough difference to be really noticeable. Let's

Re: [PHP] Howdy (new in here)

2011-02-16 Thread Andre Polykanine
://facebook.com/menelion Original message From: Micky Hulse rgmi...@gmail.com To: php-general@lists.php.net Date created: , 3:43:57 AM Subject: [PHP] Howdy (new in here) On Tue, Feb 15, 2011 at 2:00 PM, David Harkness davi...@highgearmedia.com wrote: I use KR. I

Re: [PHP] Howdy (new in here)

2011-02-16 Thread Donovan Brooke
Tamara Temple wrote: On Feb 15, 2011, at 4:17 PM, Donovan Brooke wrote: [snip] This is what I show my students: http://rebel.lcc.edu/sperlt/citw229/brace-styles.php Cheers, tedd I didn't know there were names for bracing styles... but Neither did I -- just the KR style was the only

Re: [PHP] Howdy (new in here)

2011-02-16 Thread Tamara Temple
On Feb 15, 2011, at 11:23 PM, Brian Waters wrote: On Tue, Feb 15, 2011 at 11:46 PM, Tamara Temple tamouse.li...@gmail.com wrote: I was unlucky enough to find someone who coded a function that went on for 30 pages one (this was in C, not PHP) and *that* was hard to untangle.

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Daniel Brown
On Mon, Feb 14, 2011 at 20:26, Brian Waters brianmwat...@gmail.com wrote: Hi everyone! I'm just starting out with PHP so I'm looking for a good place to ask some questions, have my code critiqued (read: visciously ripped apart), and generally BS about PHP and programming in general (if that's

Re: [PHP] Howdy (new in here)

2011-02-15 Thread tedd
At 8:26 PM -0500 2/14/11, Brian Waters wrote: Hi everyone! I'm just starting out with PHP so I'm looking for a good place to ask some questions, have my code critiqued (read: visciously ripped apart), and generally BS about PHP and programming in general (if that's OK). I know that PHP sometimes

Re: [PHP] Howdy (new in here)

2011-02-15 Thread David Harkness
Welcome to the list, Brian. I'm fairly new to PHP and the list myself, and I've found it to be a great resource. Another is stackoverflow.com, especially for How do I do X? type questions. I often find someone else has already provided an answer. On Tue, Feb 15, 2011 at 8:51 AM, tedd

[PHP] Howdy (new in here)

2011-02-15 Thread Daniel Brown
Back to the list for Kirk ;-P -- Forwarded message -- From: Kirk Bailey kbai...@howlermonkey.net Date: Tue, Feb 15, 2011 at 12:09 Subject: Re: [PHP] Howdy (new in here) To: Daniel Brown danbr...@php.net On 2/15/2011 10:03 AM, Daniel Brown wrote: On Mon, Feb 14, 2011

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Nicholas Kell
On Feb 15, 2011, at 10:51 AM, tedd wrote: At 8:26 PM -0500 2/14/11, Brian Waters wrote: Hi everyone! I'm just starting out with PHP so I'm looking for a good place to ask some questions, have my code critiqued (read: visciously ripped apart), and generally BS about PHP and programming in

Re: [PHP] Howdy (new in here)

2011-02-15 Thread tedd
Welcome to the list, Brian. I'm fairly new to PHP and the list myself, and I've found it to be a great resource. Another is http://stackoverflow.comstackoverflow.com, especially for How do I do X? type questions. I often find someone else has already provided an answer. On Tue, Feb 15, 2011

Re: [PHP] Howdy (new in here)

2011-02-15 Thread tedd
At 11:37 AM -0600 2/15/11, Nicholas Kell wrote: On Feb 15, 2011, at 10:51 AM, tedd wrote: At 8:26 PM -0500 2/14/11, Brian Waters wrote: (if that's OK). I know that PHP sometimes has a reputation for having (some) lousy developers, and I'd like to avoid becoming one of those We don't

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Nicholas Kell
On Feb 15, 2011, at 11:52 AM, tedd wrote: At 11:37 AM -0600 2/15/11, Nicholas Kell wrote: On Feb 15, 2011, at 10:51 AM, tedd wrote: At 8:26 PM -0500 2/14/11, Brian Waters wrote: (if that's OK). I know that PHP sometimes has a reputation for having (some) lousy developers, and I'd like to

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Brian Waters
On Tue, Feb 15, 2011 at 12:52 PM, tedd tedd.sperl...@gmail.com wrote: At 11:37 AM -0600 2/15/11, Nicholas Kell wrote: On Feb 15, 2011, at 10:51 AM, tedd wrote: At 8:26 PM -0500 2/14/11, Brian Waters wrote: (if that's OK). I know that PHP sometimes has a reputation for having (some)

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Mujtaba Arshad
I would say all languages have their 'lousy developers', however, since very few schools focus on teaching the 'proper coding style' for PHP it leads to people learning from a variety of resources available online, and this leads to them receiving mixed messages from the tutorials and allowing

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Nicholas Kell
On Feb 15, 2011, at 1:20 PM, Mujtaba Arshad wrote: I would say all languages have their 'lousy developers', however, since very few schools focus on teaching the 'proper coding style' for PHP it leads to people learning from a variety of resources available online, and this leads to them

Re: [PHP] Howdy (new in here)

2011-02-15 Thread tedd
At 2:03 PM -0500 2/15/11, Brian Waters wrote: On Tue, Feb 15, 2011 at 12:52 PM, tedd tedd.sperl...@gmail.com wrote: I guess that we run in different worlds. Most of the PHP programmers I know are very good. I didn't mean to suggest anything. Nor do I necessarily subscribe to the idea

Re: [PHP] Howdy (new in here)

2011-02-15 Thread tedd
At 12:52 PM -0600 2/15/11, Nicholas Kell wrote: On Feb 15, 2011, at 11:52 AM, tedd wrote: I guess that we run in different worlds. Most of the PHP programmers I know are very good. I have to agree with you, tedd. Most of the PHP devs that I know are also quite good. But, the fact that

Re: [PHP] Howdy (new in here)

2011-02-15 Thread tedd
At 2:20 PM -0500 2/15/11, Mujtaba Arshad wrote: I would say all languages have their 'lousy developers', however, since very few schools focus on teaching the 'proper coding style' for PHP it leads to people learning from a variety of resources available online, and this leads to them receiving

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Brian Waters
On Tue, Feb 15, 2011 at 3:37 PM, tedd tedd.sperl...@gmail.com wrote: So, I took a *weekend* and programmed about 90 percent of application in FutureBasic. I then created a shell application and forwarded it to the client. After receiving the application, the client said Yes, this is exactly

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Steve Staples
On Tue, 2011-02-15 at 15:54 -0500, tedd wrote: At 2:20 PM -0500 2/15/11, Mujtaba Arshad wrote: I would say all languages have their 'lousy developers', however, since very few schools focus on teaching the 'proper coding style' for PHP it leads to people learning from a variety of resources

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Robert Cummings
On 11-02-15 04:08 PM, Steve Staples wrote: Tedd: Your bracing style is WRONG. Whitesmiths Style sucks... and Allman Style is the best way to do it. :) My personal bracing style is the Allman Style... I've been doing it that way forever, it just made sense to me (even before I knew there was

Re: [PHP] Howdy (new in here)

2011-02-15 Thread David Harkness
On Tue, Feb 15, 2011 at 1:08 PM, Steve Staples sstap...@mnsi.net wrote: My personal bracing style is the Allman Style. I use KR. I started with it just as shown but as monitors increased in size I stopped cuddling the else so it's now on its own line, aligning the if, elseif, and else nicely.

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Mujtaba Arshad
@tedd I was interested about the reasons why people perceive php as a poor language. I came across the following stackoverflow thread: http://stackoverflow.com/questions/309300/defend-php-convince-me-it-isnt-horrible The guy answering him immediately after brought up some very good rebuttals,

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Robert Cummings
On 11-02-15 04:59 PM, Brian Waters wrote: On Tue, Feb 15, 2011 at 4:50 PM, Robert Cummingsrob...@interjinn.com wrote: I started with KR and quickly migrated to Allman style. The advantage I see with Allman is that the braces form a visual pocket into which the associated code gets placed :)

RE: [PHP] Howdy (new in here)

2011-02-15 Thread Jay Blanchard
[snip] Allman Style is the best way to do it. [/snip] Only if you're playing guitar Junior. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Donovan Brooke
[snip] This is what I show my students: http://rebel.lcc.edu/sperlt/citw229/brace-styles.php Cheers, tedd I didn't know there were names for bracing styles... but I used the KR Style on my last project, which I would call the Larry Ullman style since that is where I took it from.

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Andre Polykanine
/menelion Original message From: David Harkness davi...@highgearmedia.com To: sstap...@mnsi.net Date created: , 12:00:52 AM Subject: [PHP] Howdy (new in here) On Tue, Feb 15, 2011 at 1:08 PM, Steve Staples sstap...@mnsi.net wrote: My personal bracing style

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Richard Quadling
On 15 February 2011 20:42, tedd tedd.sperl...@gmail.com wrote: At 12:52 PM -0600 2/15/11, Nicholas Kell wrote: On Feb 15, 2011, at 11:52 AM, tedd wrote:   I guess that we run in different worlds. Most of the PHP programmers I know are very good. I have to agree with you, tedd. Most of the

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Richard Quadling
On 15 February 2011 21:08, Steve Staples sstap...@mnsi.net wrote: Your bracing style is WRONG.  Whitesmiths Style sucks... and Allman Style is the best way to do it. It's not Friday. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Micky Hulse
On Tue, Feb 15, 2011 at 2:00 PM, David Harkness davi...@highgearmedia.com wrote: I use KR. I started with it just as shown but as monitors increased in size I stopped cuddling the else so it's now on its own line, aligning the if, elseif, and else nicely. One of the developers at my company

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Tamara Temple
On Feb 15, 2011, at 4:17 PM, Donovan Brooke wrote: [snip] This is what I show my students: http://rebel.lcc.edu/sperlt/citw229/brace-styles.php Cheers, tedd I didn't know there were names for bracing styles... but Neither did I -- just the KR style was the only name I recognized. (I

[PHP] Howdy (new in here)

2011-02-14 Thread Brian Waters
Hi everyone! I'm just starting out with PHP so I'm looking for a good place to ask some questions, have my code critiqued (read: visciously ripped apart), and generally BS about PHP and programming in general (if that's OK). I know that PHP sometimes has a reputation for having (some) lousy