<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Naming Conventions &#8211; Why Your Code Sucks</title>
	<atom:link href="http://www.mikeziray.com/2010/07/01/why-your-code-sucks-naming-conventions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikeziray.com/2010/07/01/why-your-code-sucks-naming-conventions/?utm_campaign=feed&#038;utm_medium=feed&#038;utm_source=blog&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
	<description>Life, Logged Through Light</description>
	<lastBuildDate>Sun, 05 Feb 2012 20:35:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mike</title>
		<link>http://www.mikeziray.com/2010/07/01/why-your-code-sucks-naming-conventions/comment-page-1/#comment-474</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 28 Jul 2011 21:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=1071#comment-474</guid>
		<description>I always appreciate people willing to disagree with me! You&#039;re right about that SDK that uses Lua. Out of curiousity, which one was that? I&#039;ve programmed a game in Lua, so I know the language, and I suppose what you&#039;re saying is, because it&#039;s not compiled and instead included with the app, the character count in the code matters. I&#039;m not sure why you&#039;d have that kind of restriction these days, so I&#039;m curious.

Also, I believe you&#039;re talking about the overhead of referencing and retrieving variables from encapsulated classes. If performance matters to you, there are ways to speed that up. One is to simply get a pointer to the object and store it locally, and another is to copy the data to a local variable and pass back the value when you&#039;re done.

OOP does have a slight overhead in exchange for better maintainability in your code. However, it doesn&#039;t matter how fast your code is if it&#039;s not maintainable or buggy. But there are plenty of software engineering concepts you can use to speed up your code without making it ugly and unmaintainable.

When you program in a large team, they all have coding practices that you must follow. This is nothing new, this is just my way of doing things for people who haven&#039;t been exposed to these concepts. So feel free to disagree, but each guideline is explained on why I use those methods.</description>
		<content:encoded><![CDATA[<p>I always appreciate people willing to disagree with me! You&#8217;re right about that SDK that uses Lua. Out of curiousity, which one was that? I&#8217;ve programmed a game in Lua, so I know the language, and I suppose what you&#8217;re saying is, because it&#8217;s not compiled and instead included with the app, the character count in the code matters. I&#8217;m not sure why you&#8217;d have that kind of restriction these days, so I&#8217;m curious.</p>
<p>Also, I believe you&#8217;re talking about the overhead of referencing and retrieving variables from encapsulated classes. If performance matters to you, there are ways to speed that up. One is to simply get a pointer to the object and store it locally, and another is to copy the data to a local variable and pass back the value when you&#8217;re done.</p>
<p>OOP does have a slight overhead in exchange for better maintainability in your code. However, it doesn&#8217;t matter how fast your code is if it&#8217;s not maintainable or buggy. But there are plenty of software engineering concepts you can use to speed up your code without making it ugly and unmaintainable.</p>
<p>When you program in a large team, they all have coding practices that you must follow. This is nothing new, this is just my way of doing things for people who haven&#8217;t been exposed to these concepts. So feel free to disagree, but each guideline is explained on why I use those methods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.mikeziray.com/2010/07/01/why-your-code-sucks-naming-conventions/comment-page-1/#comment-473</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 28 Jul 2011 20:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=1071#comment-473</guid>
		<description>Why your column sucks.

Well, actually overall it doesn&#039;t. But you are a bit on the dogmatic side. If something is the right tool or technique for the job, you use it. Don&#039;t use something else because you took a blood oath NEVER to use * Recently  I worked in Lua, in a game related environment. You had a meg or two total for graphics, sound, and code. It goes very quickly. Brevity in variable and function names was a necessity. On the subject of naming conventions, if it works for you and anyone else you work with, it&#039;s good. All class variables should be private? Encapsulation has it&#039;s advantages. But if you are working in a graphics intensive environment, you may sweat every cycle. How much time you spend going through functions to get at variables only your profiler knows for sure.  But if speed is critical, perhaps you should have direct access. Drifting back to my core point, it&#039;s good to have guidelines. But never say never. Use the right tool for the job.</description>
		<content:encoded><![CDATA[<p>Why your column sucks.</p>
<p>Well, actually overall it doesn&#8217;t. But you are a bit on the dogmatic side. If something is the right tool or technique for the job, you use it. Don&#8217;t use something else because you took a blood oath NEVER to use * Recently  I worked in Lua, in a game related environment. You had a meg or two total for graphics, sound, and code. It goes very quickly. Brevity in variable and function names was a necessity. On the subject of naming conventions, if it works for you and anyone else you work with, it&#8217;s good. All class variables should be private? Encapsulation has it&#8217;s advantages. But if you are working in a graphics intensive environment, you may sweat every cycle. How much time you spend going through functions to get at variables only your profiler knows for sure.  But if speed is critical, perhaps you should have direct access. Drifting back to my core point, it&#8217;s good to have guidelines. But never say never. Use the right tool for the job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.mikeziray.com/2010/07/01/why-your-code-sucks-naming-conventions/comment-page-1/#comment-338</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 27 Oct 2010 11:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=1071#comment-338</guid>
		<description>Haha, Hungarian notation prefixes with type/intended use!</description>
		<content:encoded><![CDATA[<p>Haha, Hungarian notation prefixes with type/intended use!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.mikeziray.com/2010/07/01/why-your-code-sucks-naming-conventions/comment-page-1/#comment-336</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Fri, 22 Oct 2010 03:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=1071#comment-336</guid>
		<description>Great article! Although, the SEO compatible URL looks like a weird sex act... ;-)</description>
		<content:encoded><![CDATA[<p>Great article! Although, the SEO compatible URL looks like a weird sex act&#8230; <img src='http://www.mikeziray.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.mikeziray.com/2010/07/01/why-your-code-sucks-naming-conventions/comment-page-1/#comment-322</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 06 Oct 2010 16:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeziray.com/?p=1071#comment-322</guid>
		<description>Haha, great post!</description>
		<content:encoded><![CDATA[<p>Haha, great post!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

