<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1037907" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1037907</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-your-style#comment-1217089</link>
    <description> &lt;p&gt;When I taught myself PHP I used your first method. Then, at Uni we learnt Java and they taught it the other way.. which I then preferred and now use!&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;
 </description>
     <pubDate>Thu, 29 Mar 2007 13:55:40 +0000</pubDate>
 <dc:creator>a_gajic</dc:creator>
 <guid isPermaLink="false">comment 1217089 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-your-style#comment-1216975</link>
    <description> &lt;p&gt;Hmm, rubensson brings up a good point. I forget that when embedding PHP in HTML, I do occasionally use the first variant, with little or no ill effects. ie It doesn&#039;t bother me personally to stray from my norm.&lt;/p&gt;
 </description>
     <pubDate>Tue, 27 Mar 2007 13:09:28 +0000</pubDate>
 <dc:creator>timjpriebe</dc:creator>
 <guid isPermaLink="false">comment 1216975 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-your-style#comment-1216960</link>
    <description> &lt;p&gt;I agree with the subjectiveness of the issue. I surprised myself with using the first variant the other day because it was more readable when embedded in HTML. In Java (which I program for a living) I always put curly brace on new lines. I think it is important to use the same style within a project if there are several developers. The code should look the same in all files within the same source tree.&lt;/p&gt;
 </description>
     <pubDate>Mon, 26 Mar 2007 20:28:18 +0000</pubDate>
 <dc:creator>rubensson</dc:creator>
 <guid isPermaLink="false">comment 1216960 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-your-style#comment-1216952</link>
    <description> &lt;p&gt;In the absence of any other motivation for a given style, you might like to follow the PHP &lt;a href=&quot;http://pear.php.net/manual/en/standards.php&quot; class=&quot;bb-url&quot;&gt;PEAR coding standards&lt;/a&gt;.  That&#039;s about as official as it gets.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 26 Mar 2007 16:56:50 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1216952 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-your-style#comment-1216935</link>
    <description> &lt;p&gt;I prefer the first example. There&#039;s no right or wrong, it&#039;s a personal preference thing, just don&#039;t forget to indent anything inside the curly braces otherwise your code will be a nightmare to read.&lt;/p&gt;
&lt;p&gt;I keep vars all in lower case and don&#039;t use any underscores in variable names.&lt;br /&gt;
functions I keep in all lower case but with underscores separating words (not sure why!), but i prefer to stay consistent with my existing style.&lt;/p&gt;
 </description>
     <pubDate>Mon, 26 Mar 2007 14:30:01 +0000</pubDate>
 <dc:creator>andy206uk</dc:creator>
 <guid isPermaLink="false">comment 1216935 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-your-style#comment-1216921</link>
    <description> &lt;p&gt;I format mine more like that second example. My personal opinion is that it&#039;s just a preference issue, though.&lt;/p&gt;
&lt;p&gt;As far as variables, I tend to do the lowercaseUppercase type of formatting. I always start with lowercase, then any new word starts with an uppercase letter. I avoid underscores in general. Again, just personal preference.&lt;/p&gt;
 </description>
     <pubDate>Mon, 26 Mar 2007 14:04:00 +0000</pubDate>
 <dc:creator>timjpriebe</dc:creator>
 <guid isPermaLink="false">comment 1216921 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-your-style#comment-1216839</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://www.corephp.co.uk/index.php?archives/10-The-Good,-the-Bad-and-the-Ugly.html&amp;amp;serendipity%5Bentrypage%5D=4&quot; class=&quot;bb-url&quot;&gt;Here&lt;/a&gt; is a nice guide on it and if you want to cheat &lt;a href=&quot;http://www.textrush.com/code-formatting-php.htm&quot; class=&quot;bb-url&quot;&gt;here&lt;/a&gt; is a program that does it for you &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 23 Mar 2007 22:06:34 +0000</pubDate>
 <dc:creator>vibins</dc:creator>
 <guid isPermaLink="false">comment 1216839 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
