<?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: The 7 Worst Verbs Programmers Use In Function Calls</title>
	<atom:link href="http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/</link>
	<description>I bake games. Indie style.</description>
	<lastBuildDate>Wed, 12 Jun 2013 15:09:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Aperage</title>
		<link>http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/comment-page-1/#comment-147025</link>
		<dc:creator>Aperage</dc:creator>
		<pubDate>Thu, 15 Dec 2011 02:09:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=1736#comment-147025</guid>
		<description>hey,
nice feedback for beginner...
to be honest, having english as a secondary language, I do use these terms quite a bit while coding. It&#039;s meaningful to me but reading this post, I understand it&#039;s kind of wrong.

But could you try, on the contrary, to supply a list of meaningfull function name. 
Mainly like verb examples to enrich people vocabulary and thus improving the code written everywhere

thank and good luck</description>
		<content:encoded><![CDATA[<p>hey,<br />
nice feedback for beginner&#8230;<br />
to be honest, having english as a secondary language, I do use these terms quite a bit while coding. It&#8217;s meaningful to me but reading this post, I understand it&#8217;s kind of wrong.</p>
<p>But could you try, on the contrary, to supply a list of meaningfull function name.<br />
Mainly like verb examples to enrich people vocabulary and thus improving the code written everywhere</p>
<p>thank and good luck</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kimo</title>
		<link>http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/comment-page-1/#comment-146930</link>
		<dc:creator>Kimo</dc:creator>
		<pubDate>Thu, 01 Dec 2011 02:56:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=1736#comment-146930</guid>
		<description>Loved the article. Gave me something to think about.  It takes a lot of work for me to come up with method names so I just call all methods DaKine.  As in DaKine01() does does some dispatching, Dakine02() does some populating, DaKine03() does some handling, etc. Saves me a lot of time thinking up new names.</description>
		<content:encoded><![CDATA[<p>Loved the article. Gave me something to think about.  It takes a lot of work for me to come up with method names so I just call all methods DaKine.  As in DaKine01() does does some dispatching, Dakine02() does some populating, DaKine03() does some handling, etc. Saves me a lot of time thinking up new names.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Schubkegel</title>
		<link>http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/comment-page-1/#comment-142462</link>
		<dc:creator>Nathan Schubkegel</dc:creator>
		<pubDate>Wed, 13 Oct 2010 23:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=1736#comment-142462</guid>
		<description>While trolling some of my old code, I found a function name that successfully conveyed to me that it may or may not perform an action. It was named UnhighlightAndEndAnyClickAndDrag(). I can&#039;t wait to slip &quot;Any&quot; in front of the noun part of more of my function names!</description>
		<content:encoded><![CDATA[<p>While trolling some of my old code, I found a function name that successfully conveyed to me that it may or may not perform an action. It was named UnhighlightAndEndAnyClickAndDrag(). I can&#8217;t wait to slip &#8220;Any&#8221; in front of the noun part of more of my function names!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Schubkegel</title>
		<link>http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/comment-page-1/#comment-142416</link>
		<dc:creator>Nathan Schubkegel</dc:creator>
		<pubDate>Thu, 07 Oct 2010 01:10:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=1736#comment-142416</guid>
		<description>How many people hate the &quot;Check&quot; verb? Often I run into trouble finding a name for a new method that *maybe* does something. I consider using a name like CheckForStateChanges(), but it doesn&#039;t say what the function actually does if it encounters a state change! (My name is purposely generic - real world names would read like CheckForChangedFiles(), CheckInboxForNewMail(), or even terser like CheckValues(), CheckScreenWidth(), etc... and just go home if the context is such that Checkboxes might be involved...)

One solution would be to put two verbs in the function name. However, this leads me to make methods with unapprovable long names like CheckForUpdatesAndDownloadAndInstall() or CheckValuesAndComplainAboutErrors(). For some reason people hate reading more than 1 verb, 1 noun, and 1 adjective in a single method call. Conjunctions and articles are snubbed too, so these examples were doomed from the start.

Sometimes I give in, and I steal &quot;good&quot; verbs that have their own valid uses, and I cripple my function names with them. GetNewMail() - it looks like a getter that returns some private instance data, but it actually goes out on the internet and might not return for 15 seconds! CreateErrorReport() - it looks like it&#039;s going to make an error report, but nobody told you it was going to show it AND dispose it when finished! SaveDocumentChanges() - it looks like it&#039;s going to pillage your hard drive by overwriting the whole file every time it&#039;s called! Names that abuse standard-verbs are misleading and I hate them more than full-looking-but-actually-empty candy wrappers on public sidewalks.

In practice I use Juuso&#039;s lame verbs with enough extra words to accomplish two goals. I provide a name that is memorable - my readers should only need to learn my code once. Then, in that name I give readers a feel for what the function does, but only enough so that they&#039;ll go look at the implementation for confirmation. You can probably imagine what ProcessChangedScreenSize() or PerformErrorChecking() does... but you should really go look to make sure.

I&#039;d love to hear if anyone developing software at a corporation with peer-reviewed code gets away with names that use &quot;Check&quot; or multi-verbs or hijacked-established verbs. I&#039;d also love to hear about more possible ways to name complicated functions.</description>
		<content:encoded><![CDATA[<p>How many people hate the &#8220;Check&#8221; verb? Often I run into trouble finding a name for a new method that *maybe* does something. I consider using a name like CheckForStateChanges(), but it doesn&#8217;t say what the function actually does if it encounters a state change! (My name is purposely generic &#8211; real world names would read like CheckForChangedFiles(), CheckInboxForNewMail(), or even terser like CheckValues(), CheckScreenWidth(), etc&#8230; and just go home if the context is such that Checkboxes might be involved&#8230;)</p>
<p>One solution would be to put two verbs in the function name. However, this leads me to make methods with unapprovable long names like CheckForUpdatesAndDownloadAndInstall() or CheckValuesAndComplainAboutErrors(). For some reason people hate reading more than 1 verb, 1 noun, and 1 adjective in a single method call. Conjunctions and articles are snubbed too, so these examples were doomed from the start.</p>
<p>Sometimes I give in, and I steal &#8220;good&#8221; verbs that have their own valid uses, and I cripple my function names with them. GetNewMail() &#8211; it looks like a getter that returns some private instance data, but it actually goes out on the internet and might not return for 15 seconds! CreateErrorReport() &#8211; it looks like it&#8217;s going to make an error report, but nobody told you it was going to show it AND dispose it when finished! SaveDocumentChanges() &#8211; it looks like it&#8217;s going to pillage your hard drive by overwriting the whole file every time it&#8217;s called! Names that abuse standard-verbs are misleading and I hate them more than full-looking-but-actually-empty candy wrappers on public sidewalks.</p>
<p>In practice I use Juuso&#8217;s lame verbs with enough extra words to accomplish two goals. I provide a name that is memorable &#8211; my readers should only need to learn my code once. Then, in that name I give readers a feel for what the function does, but only enough so that they&#8217;ll go look at the implementation for confirmation. You can probably imagine what ProcessChangedScreenSize() or PerformErrorChecking() does&#8230; but you should really go look to make sure.</p>
<p>I&#8217;d love to hear if anyone developing software at a corporation with peer-reviewed code gets away with names that use &#8220;Check&#8221; or multi-verbs or hijacked-established verbs. I&#8217;d also love to hear about more possible ways to name complicated functions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chase Saunders</title>
		<link>http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/comment-page-1/#comment-132334</link>
		<dc:creator>Chase Saunders</dc:creator>
		<pubDate>Mon, 15 Dec 2008 02:57:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=1736#comment-132334</guid>
		<description>doProperThing()</description>
		<content:encoded><![CDATA[<p>doProperThing()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/comment-page-1/#comment-132330</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sun, 14 Dec 2008 06:27:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=1736#comment-132330</guid>
		<description>I agree with everything except &#039;handle&#039;.  Events need to be handles.  A common action in search programs is creating the SQL clauses for certain aspects of the search.  Those aspects are &#039;handled&#039; by their own blocks of code.</description>
		<content:encoded><![CDATA[<p>I agree with everything except &#8216;handle&#8217;.  Events need to be handles.  A common action in search programs is creating the SQL clauses for certain aspects of the search.  Those aspects are &#8216;handled&#8217; by their own blocks of code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris O'Sullivan</title>
		<link>http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/comment-page-1/#comment-132326</link>
		<dc:creator>Chris O'Sullivan</dc:creator>
		<pubDate>Sat, 13 Dec 2008 15:35:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=1736#comment-132326</guid>
		<description>What about: process

I (ashamedly) use it all the time when I want to do &#039;something&#039; that is ill defined.</description>
		<content:encoded><![CDATA[<p>What about: process</p>
<p>I (ashamedly) use it all the time when I want to do &#8216;something&#8217; that is ill defined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eirik Hoem</title>
		<link>http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/comment-page-1/#comment-132320</link>
		<dc:creator>Eirik Hoem</dc:creator>
		<pubDate>Fri, 12 Dec 2008 07:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=1736#comment-132320</guid>
		<description>This article would make much more sense if you renamed it to &quot;The 7 Worst Verbs Programmers Use As Function Call Names&quot;. Most of the verbs you describe here works very well IN a function name as long as the rest of the name is describing. On their own they are pretty much useless as you point out :)</description>
		<content:encoded><![CDATA[<p>This article would make much more sense if you renamed it to &#8220;The 7 Worst Verbs Programmers Use As Function Call Names&#8221;. Most of the verbs you describe here works very well IN a function name as long as the rest of the name is describing. On their own they are pretty much useless as you point out :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rui Ferreira</title>
		<link>http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/comment-page-1/#comment-132318</link>
		<dc:creator>Rui Ferreira</dc:creator>
		<pubDate>Fri, 12 Dec 2008 01:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=1736#comment-132318</guid>
		<description>I don&#039;t agree with most your 

# dispatch
I guess that&#039;s one of those words that comes from patterns language. It&#039;s not very descriptive but everyone knows what you&#039;re talking about when you say &quot;dispatched that request to a thread&quot;. 

# resolve
Resolve domain to ip addr. translate. etc.

# handle
Usually used to &quot;handle&quot; events. Handler for double-click, interrupt and so on

# populate
It&#039;s used quite a lot, especially in tests. It means exactly that, populate with content....</description>
		<content:encoded><![CDATA[<p>I don&#8217;t agree with most your </p>
<p># dispatch<br />
I guess that&#8217;s one of those words that comes from patterns language. It&#8217;s not very descriptive but everyone knows what you&#8217;re talking about when you say &#8220;dispatched that request to a thread&#8221;. </p>
<p># resolve<br />
Resolve domain to ip addr. translate. etc.</p>
<p># handle<br />
Usually used to &#8220;handle&#8221; events. Handler for double-click, interrupt and so on</p>
<p># populate<br />
It&#8217;s used quite a lot, especially in tests. It means exactly that, populate with content&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Carmony</title>
		<link>http://www.gameproducer.net/2008/11/11/the-7-worst-verbs-programmers-use-in-function-calls/comment-page-1/#comment-132285</link>
		<dc:creator>Justin Carmony</dc:creator>
		<pubDate>Tue, 09 Dec 2008 22:55:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.gameproducer.net/?p=1736#comment-132285</guid>
		<description>Amen! Great article!</description>
		<content:encoded><![CDATA[<p>Amen! Great article!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
