<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Web Development: Standardizing variables to code faster</title> <atom:link href="http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sun, 12 Feb 2012 00:34:28 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Creating a database with MySQL Administrator :Addz It Now</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-936128</link> <dc:creator>Creating a database with MySQL Administrator :Addz It Now</dc:creator> <pubDate>Thu, 10 Dec 2009 04:55:30 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-936128</guid> <description>[...] Web Development: Standardizing variables to code faster (18) [...]</description> <content:encoded><![CDATA[<p>[...] Web Development: Standardizing variables to code faster (18) [...]</p> ]]></content:encoded> </item> <item><title>By: rruben</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-596450</link> <dc:creator>rruben</dc:creator> <pubDate>Mon, 05 Jan 2009 11:30:11 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-596450</guid> <description>It seems that Wordpress has swallowed my next comment :-P</description> <content:encoded><![CDATA[<p>It seems that WordPress has swallowed my next comment :-P</p> ]]></content:encoded> </item> <item><title>By: Jeremiah</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-595419</link> <dc:creator>Jeremiah</dc:creator> <pubDate>Mon, 05 Jan 2009 00:06:19 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-595419</guid> <description>I second rruben&#039;s comment - I am happy to see this kind of post but really think it belongs in a separate venue (maybe even a subdomain). If you decide to start another blog and are looking for articles I would love to &#039;guest&#039; contribute.</description> <content:encoded><![CDATA[<p>I second rruben&#8217;s comment &#8211; I am happy to see this kind of post but really think it belongs in a separate venue (maybe even a subdomain). If you decide to start another blog and are looking for articles I would love to &#8216;guest&#8217; contribute.</p> ]]></content:encoded> </item> <item><title>By: Daniel Pataki</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593998</link> <dc:creator>Daniel Pataki</dc:creator> <pubDate>Sat, 03 Jan 2009 20:11:47 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593998</guid> <description>Hi Angelo!
I&#039;m glad you like my stuff, thanks for being on board!
You know I actually didn&#039;t realize how true what you said is until I started creating sites. And not only helpful in solving problems you might not think of, but also in solving those you know of better. Coding is a very useful thing to learn, even just as a hobby :)
On another note, I&#039;m trying to make Hack Your Day a lot bigger than it is, so keep on visiting! :)</description> <content:encoded><![CDATA[<p>Hi Angelo!</p><p>I&#8217;m glad you like my stuff, thanks for being on board!</p><p>You know I actually didn&#8217;t realize how true what you said is until I started creating sites. And not only helpful in solving problems you might not think of, but also in solving those you know of better. Coding is a very useful thing to learn, even just as a hobby :)</p><p>On another note, I&#8217;m trying to make Hack Your Day a lot bigger than it is, so keep on visiting! :)</p> ]]></content:encoded> </item> <item><title>By: Angelo R.</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593921</link> <dc:creator>Angelo R.</dc:creator> <pubDate>Sat, 03 Jan 2009 17:20:45 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593921</guid> <description>@Daniel Pataki - Alternate blog or guest-posts, either way you&#039;ve found yourself a new reader. I&#039;ve already been following your blog over at Hack Your Day for quite a while and I love reading about the way other programmers work, it offers you solutions to problems that you may never have thought about.</description> <content:encoded><![CDATA[<p>@Daniel Pataki &#8211; Alternate blog or guest-posts, either way you&#8217;ve found yourself a new reader. I&#8217;ve already been following your blog over at Hack Your Day for quite a while and I love reading about the way other programmers work, it offers you solutions to problems that you may never have thought about.</p> ]]></content:encoded> </item> <item><title>By: rruben</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593904</link> <dc:creator>rruben</dc:creator> <pubDate>Sat, 03 Jan 2009 16:51:53 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593904</guid> <description>Thanks for appreciating my comment.
Why I think a poll is better than relying on comment is that most of the readers do not comment. Especially to say you are against something is a bigger step to really give a comment.
A poll is anonymous which means you will hear the voice of a lot more readers which makes the statistic more trusted.
Like I said before I would love to have these kind of articles but why I think it&#039;s not the best idea is purely from a branding/marketing point of view.
gHacks is branded as a blog where you get tips and hacks and get to know about software to make life easier. What&#039;s making this so strong is that everybody can use them, even if you are not an IT person. You can see this as a niche, but still big enough to attract everybody who use a pc regularly and who are interested enough of course.
When you also write about specialistic things not everybody understand, you satisfy the minority but in exchange you probably decrease the interest of the mass by diluting the image of the brand gHacks.
The effect of talking about code is actually the same as talking about philosophy. It&#039;s really interesting, but when it becomes difficult, little people stay listening while many start to wander off.</description> <content:encoded><![CDATA[<p>Thanks for appreciating my comment.</p><p>Why I think a poll is better than relying on comment is that most of the readers do not comment. Especially to say you are against something is a bigger step to really give a comment.</p><p>A poll is anonymous which means you will hear the voice of a lot more readers which makes the statistic more trusted.</p><p>Like I said before I would love to have these kind of articles but why I think it&#8217;s not the best idea is purely from a branding/marketing point of view.<br
/> gHacks is branded as a blog where you get tips and hacks and get to know about software to make life easier. What&#8217;s making this so strong is that everybody can use them, even if you are not an IT person. You can see this as a niche, but still big enough to attract everybody who use a pc regularly and who are interested enough of course.<br
/> When you also write about specialistic things not everybody understand, you satisfy the minority but in exchange you probably decrease the interest of the mass by diluting the image of the brand gHacks.</p><p>The effect of talking about code is actually the same as talking about philosophy. It&#8217;s really interesting, but when it becomes difficult, little people stay listening while many start to wander off.</p> ]]></content:encoded> </item> <item><title>By: Daniel Pataki</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593889</link> <dc:creator>Daniel Pataki</dc:creator> <pubDate>Sat, 03 Jan 2009 16:24:51 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593889</guid> <description>Hi rruben!
Thanks for your input! The &quot;bad&quot; side of this situation is that you might be right. I was thinking of what you said before undertaking this here at gHacks. Martin is definitely in on your comment and he will decide on the poll, but we have decided to deduce the attitude of the readers by the comments and if we get negative responses we will not post any more than a few of these articles :)
If you guys would like less coding articles I don&#039;t think I will be guest posting, I&#039;ll create a separate blog for it and let those of you interested know :)
Again, gHacks is for you guys, so if you don&#039;t like these posts let me know and there will be no more of this evil! :)
Thanks for input rruben!</description> <content:encoded><![CDATA[<p>Hi rruben!</p><p>Thanks for your input! The &#8220;bad&#8221; side of this situation is that you might be right. I was thinking of what you said before undertaking this here at gHacks. Martin is definitely in on your comment and he will decide on the poll, but we have decided to deduce the attitude of the readers by the comments and if we get negative responses we will not post any more than a few of these articles :)</p><p>If you guys would like less coding articles I don&#8217;t think I will be guest posting, I&#8217;ll create a separate blog for it and let those of you interested know :)</p><p>Again, gHacks is for you guys, so if you don&#8217;t like these posts let me know and there will be no more of this evil! :)</p><p>Thanks for input rruben!</p> ]]></content:encoded> </item> <item><title>By: rruben</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593735</link> <dc:creator>rruben</dc:creator> <pubDate>Sat, 03 Jan 2009 11:11:24 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593735</guid> <description>I am novice in PHP but am busy learning it when I have some spear time. So in my case these sort of posts are welcome, but this might scary of some people who are not coders and don&#039;t want to learn this. For them, these kind of posts might dilute the image of Ghacks for them, because this is not about software and simple tips/hacks everybody can use or apply.
So although I like the idea of having this sort of posts I suggest that you first run a poll to do some research about how many people on Ghacks really are webmasters.
E.G.
You can make a poll like this:
Are you interested is posts about:
-PHP &amp; MYSQL
-HTML &amp; CSS
-I am not interested in coding related articles
In my opinion you could better post this kind of articles on a coding focussed blog as a guest blogger and you can of course link to that blog to give some more exposure to the articles.
Of course it is possible that I am not right, but like I said you might run a poll first to see how many Ghacks readers support this idea.</description> <content:encoded><![CDATA[<p>I am novice in PHP but am busy learning it when I have some spear time. So in my case these sort of posts are welcome, but this might scary of some people who are not coders and don&#8217;t want to learn this. For them, these kind of posts might dilute the image of Ghacks for them, because this is not about software and simple tips/hacks everybody can use or apply.</p><p>So although I like the idea of having this sort of posts I suggest that you first run a poll to do some research about how many people on Ghacks really are webmasters.</p><p>E.G.<br
/> You can make a poll like this:<br
/> Are you interested is posts about:<br
/> -PHP &amp; MYSQL<br
/> -HTML &amp; CSS<br
/> -I am not interested in coding related articles</p><p>In my opinion you could better post this kind of articles on a coding focussed blog as a guest blogger and you can of course link to that blog to give some more exposure to the articles.</p><p>Of course it is possible that I am not right, but like I said you might run a poll first to see how many Ghacks readers support this idea.</p> ]]></content:encoded> </item> <item><title>By: Daniel Pataki</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593703</link> <dc:creator>Daniel Pataki</dc:creator> <pubDate>Sat, 03 Jan 2009 10:09:11 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593703</guid> <description>Hi Paul!
I wanted to address your issue separately. I did think about people who are just learning this stuff, that&#039;s partyl why I added the reference to HTML and CSS.
I have good news though, I will be writing some articles aimed toward the beginner side! However I think there are plenty of great sources online for learning this stuff (w3schools.com, php.net, tizag.com and so on) so I will focus more on the practical side.</description> <content:encoded><![CDATA[<p>Hi Paul!</p><p>I wanted to address your issue separately. I did think about people who are just learning this stuff, that&#8217;s partyl why I added the reference to HTML and CSS.</p><p>I have good news though, I will be writing some articles aimed toward the beginner side! However I think there are plenty of great sources online for learning this stuff (w3schools.com, php.net, tizag.com and so on) so I will focus more on the practical side.</p> ]]></content:encoded> </item> <item><title>By: Daniel Pataki</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593700</link> <dc:creator>Daniel Pataki</dc:creator> <pubDate>Sat, 03 Jan 2009 10:03:30 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593700</guid> <description>Hi Everyone!
First of all, thanks for the positive comments, I&#039;m glad you like the idea of web development posts here on gHacks!
Second of all, actually I agree with you guys too, but I can only share so much in one article, so I couldn&#039;t explain better :)
In reality my code is very commented. I am actually training someone to work with me, so my code right now is about 70% comments. Also, with variables like $u it is VERY obvious in the code.
I actually only use that variable in the login script which is short, after that I use the session variable which is descriptive. Overall I agree that variables should be descriptive, but I also believe that coders should be free to save themselves time and use $u for username for example. I usually send along a documentation for all my websites I code, but I did feel a bit ashamed, so I might change my evil ways :D
Thanks a lot for your positive comments, I&#039;ll try and make things as interesting as possible! Also, I feel I know quite a lot about this topic, but I am nowhere near knowing everything, I am anxious to learn from you guys so please do comment :)</description> <content:encoded><![CDATA[<p>Hi Everyone!</p><p>First of all, thanks for the positive comments, I&#8217;m glad you like the idea of web development posts here on gHacks!</p><p>Second of all, actually I agree with you guys too, but I can only share so much in one article, so I couldn&#8217;t explain better :)</p><p>In reality my code is very commented. I am actually training someone to work with me, so my code right now is about 70% comments. Also, with variables like $u it is VERY obvious in the code.</p><p>I actually only use that variable in the login script which is short, after that I use the session variable which is descriptive. Overall I agree that variables should be descriptive, but I also believe that coders should be free to save themselves time and use $u for username for example. I usually send along a documentation for all my websites I code, but I did feel a bit ashamed, so I might change my evil ways :D</p><p>Thanks a lot for your positive comments, I&#8217;ll try and make things as interesting as possible! Also, I feel I know quite a lot about this topic, but I am nowhere near knowing everything, I am anxious to learn from you guys so please do comment :)</p> ]]></content:encoded> </item> <item><title>By: Angelo R.</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593616</link> <dc:creator>Angelo R.</dc:creator> <pubDate>Sat, 03 Jan 2009 07:10:31 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593616</guid> <description>First off, great post. As an avid web developer and designer articles like this are alwass great to see and this was really all that was missing from ghacks. And now it&#039;s there as well, hopefully there will be quite a few more.
I&#039;ll admit that having naming conventions are a great idea when programming. You always want something standard across your code that you can quickly see and identify, but obfuscation is never the way to go. Not only does it make your code harder to read later on, but it makes it harder to make changes later on.
Sure when you program something you always intend to be the only person ever working on it, but say you run into a problem, you may need someone else to take a look at it and help figure it out, and now your obfuscation - however well intentioned - has slowed you down.
Granted it could be easily remedied by comments, and perhaps when you&#039;re done creating your web site/application a simple find/replace all would solve the problem.</description> <content:encoded><![CDATA[<p>First off, great post. As an avid web developer and designer articles like this are alwass great to see and this was really all that was missing from ghacks. And now it&#8217;s there as well, hopefully there will be quite a few more.</p><p>I&#8217;ll admit that having naming conventions are a great idea when programming. You always want something standard across your code that you can quickly see and identify, but obfuscation is never the way to go. Not only does it make your code harder to read later on, but it makes it harder to make changes later on.</p><p>Sure when you program something you always intend to be the only person ever working on it, but say you run into a problem, you may need someone else to take a look at it and help figure it out, and now your obfuscation &#8211; however well intentioned &#8211; has slowed you down.</p><p>Granted it could be easily remedied by comments, and perhaps when you&#8217;re done creating your web site/application a simple find/replace all would solve the problem.</p> ]]></content:encoded> </item> <item><title>By: David</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593462</link> <dc:creator>David</dc:creator> <pubDate>Sat, 03 Jan 2009 02:31:08 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593462</guid> <description>More posts like this are welcome!</description> <content:encoded><![CDATA[<p>More posts like this are welcome!</p> ]]></content:encoded> </item> <item><title>By: Dotan Cohen</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593252</link> <dc:creator>Dotan Cohen</dc:creator> <pubDate>Fri, 02 Jan 2009 21:12:41 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593252</guid> <description>I agree with Beirti on this one. _Always_ code for someone else, never for yourself, even if you are the only person who will ever see the code. When you go back to your code five years down the line, you will not be the same person you were when you wrote the code, and you will not remember what all the shortcuts mean. Write _maintainable_ code.</description> <content:encoded><![CDATA[<p>I agree with Beirti on this one. _Always_ code for someone else, never for yourself, even if you are the only person who will ever see the code. When you go back to your code five years down the line, you will not be the same person you were when you wrote the code, and you will not remember what all the shortcuts mean. Write _maintainable_ code.</p> ]]></content:encoded> </item> <item><title>By: Paul.</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593173</link> <dc:creator>Paul.</dc:creator> <pubDate>Fri, 02 Jan 2009 19:17:30 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593173</guid> <description>After three times reading your articel, and many searches, i understand now to the detail, what your writing about. Perhaps its possible to write a more explanatory, blogmessage. Mabay because you are so well know with the topic its not explanatory enough for me.
But I find it very interesting what you write about. Perhaps it is wise/useful to start with a novice curcus.</description> <content:encoded><![CDATA[<p>After three times reading your articel, and many searches, i understand now to the detail, what your writing about. Perhaps its possible to write a more explanatory, blogmessage. Mabay because you are so well know with the topic its not explanatory enough for me.<br
/> But I find it very interesting what you write about. Perhaps it is wise/useful to start with a novice curcus.</p> ]]></content:encoded> </item> <item><title>By: RG</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593166</link> <dc:creator>RG</dc:creator> <pubDate>Fri, 02 Jan 2009 19:02:40 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593166</guid> <description>Should have written in the same comment, sorry.
Posts like this on how to do things are nice in my opinion.</description> <content:encoded><![CDATA[<p>Should have written in the same comment, sorry.<br
/> Posts like this on how to do things are nice in my opinion.</p> ]]></content:encoded> </item> <item><title>By: RG</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593162</link> <dc:creator>RG</dc:creator> <pubDate>Fri, 02 Jan 2009 18:59:12 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593162</guid> <description>Usability for your yourself or distributable code is best when heavily commented. Standardizing as it is defined here and saving keystrokes or not.
My 2 cents :)</description> <content:encoded><![CDATA[<p>Usability for your yourself or distributable code is best when heavily commented. Standardizing as it is defined here and saving keystrokes or not.<br
/> My 2 cents :)</p> ]]></content:encoded> </item> <item><title>By: Flo</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593156</link> <dc:creator>Flo</dc:creator> <pubDate>Fri, 02 Jan 2009 18:55:01 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593156</guid> <description>I gotta agree, that for self-coding variables can be named [however up to a certain point and number] in an organized, standardized way.
However if you work on something bigger, longer or a little more descriptive variables are better.
PS: web dev posts were the only thing missing to make ghacks the perfect blog, hope there is more where this came from ;)
PPS: happy new year everyone :P</description> <content:encoded><![CDATA[<p>I gotta agree, that for self-coding variables can be named [however up to a certain point and number] in an organized, standardized way.<br
/> However if you work on something bigger, longer or a little more descriptive variables are better.</p><p>PS: web dev posts were the only thing missing to make ghacks the perfect blog, hope there is more where this came from ;)</p><p>PPS: happy new year everyone :P</p> ]]></content:encoded> </item> <item><title>By: Martin</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593152</link> <dc:creator>Martin</dc:creator> <pubDate>Fri, 02 Jan 2009 18:48:35 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593152</guid> <description>Beirti I guess it depends on the purpose of the code. If you write for yourself it might work if you use standardized variables all the time.
If you write for someone else or might sell or distribute the code / product you might want to think about proper names and commentary.</description> <content:encoded><![CDATA[<p>Beirti I guess it depends on the purpose of the code. If you write for yourself it might work if you use standardized variables all the time.</p><p>If you write for someone else or might sell or distribute the code / product you might want to think about proper names and commentary.</p> ]]></content:encoded> </item> <item><title>By: Beirti</title><link>http://www.ghacks.net/2009/01/02/web-development-standardizing-variables-to-code-faster/comment-page-1/#comment-593137</link> <dc:creator>Beirti</dc:creator> <pubDate>Fri, 02 Jan 2009 18:28:21 +0000</pubDate> <guid
isPermaLink="false">http://www.ghacks.net/?p=9555#comment-593137</guid> <description>I gotta say I&#039;m a littleappalled! Variables should be named in such a waythat anyone can sit down an read the code. Using $u for username saves you some characters but if you keep going like that you&#039;re just self-obfuscating.</description> <content:encoded><![CDATA[<p>I gotta say I&#8217;m a littleappalled! Variables should be named in such a waythat anyone can sit down an read the code. Using $u for username saves you some characters but if you keep going like that you&#8217;re just self-obfuscating.</p> ]]></content:encoded> </item> </channel> </rss>
