<?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: Stupid method names and retarded conventions</title>
	<atom:link href="http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=stupid-method-names-and-retarded-conventions</link>
	<description>If you have nothing bad to say, say nothing.</description>
	<lastBuildDate>Wed, 14 Dec 2011 08:51:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: lulz</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-8979</link>
		<dc:creator>lulz</dc:creator>
		<pubDate>Sun, 17 May 2009 03:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-8979</guid>
		<description>@foo : 

Perl sucks donkey dick. That bullshit is STONE AGE old. It&#039;s all about JavaScript, n00bs!</description>
		<content:encoded><![CDATA[<p>@foo : </p>
<p>Perl sucks donkey dick. That bullshit is STONE AGE old. It&#8217;s all about JavaScript, n00bs!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AdderTheBlack</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6562</link>
		<dc:creator>AdderTheBlack</dc:creator>
		<pubDate>Wed, 11 Aug 2004 12:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6562</guid>
		<description>noun_subj_Prefixing verb_is aj_silly. noun_subj_Context verb_is quantifier_all noun_you verb_need.</description>
		<content:encoded><![CDATA[<p>noun_subj_Prefixing verb_is aj_silly. noun_subj_Context verb_is quantifier_all noun_you verb_need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oxbow_lakes</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6561</link>
		<dc:creator>oxbow_lakes</dc:creator>
		<pubDate>Mon, 11 Aug 2003 09:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6561</guid>
		<description>Why is there one guy on our team who insists that it is no slower coding in vi and using javac, except perhaps for the total absence of debugging and BTW that is why he has written all his code in Hungarian and used Is to signify interfaces.

I know it is an interface - IT IS PURPLE. I know that it is an instance variable, as the tooltip tells me it is, you MORON. And I have a debugger to boot.

Maybe that is why my productivity is more than yours...</description>
		<content:encoded><![CDATA[<p>Why is there one guy on our team who insists that it is no slower coding in vi and using javac, except perhaps for the total absence of debugging and BTW that is why he has written all his code in Hungarian and used Is to signify interfaces.</p>
<p>I know it is an interface &#8211; IT IS PURPLE. I know that it is an instance variable, as the tooltip tells me it is, you MORON. And I have a debugger to boot.</p>
<p>Maybe that is why my productivity is more than yours&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6560</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 01 Aug 2003 12:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6560</guid>
		<description>Oh, and the Url versus URL saga in the Servlet API ...</description>
		<content:encoded><![CDATA[<p>Oh, and the Url versus URL saga in the Servlet API &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Crawford</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6559</link>
		<dc:creator>Peter Crawford</dc:creator>
		<pubDate>Fri, 01 Aug 2003 10:54:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6559</guid>
		<description>&gt; We love the apostrophe...without it FreeRoller
&gt; would be perfect and we would have nothing to
&gt; strive for - life would be void of meaning.

Even without the apostrophe you could strive for adequate uptimes.</description>
		<content:encoded><![CDATA[<p>> We love the apostrophe&#8230;without it FreeRoller<br />
> would be perfect and we would have nothing to<br />
> strive for &#8211; life would be void of meaning.</p>
<p>Even without the apostrophe you could strive for adequate uptimes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Logemann</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6558</link>
		<dc:creator>Marc Logemann</dc:creator>
		<pubDate>Fri, 01 Aug 2003 05:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6558</guid>
		<description>i agree with Hani completely on this one. The pain with the JDK classes is, that they will not fixed as long as java is on the table. Of course its silly to break backwards compatibility because of naming, but there is so much old trash in the JDK, that some general cleaning would be nice.</description>
		<content:encoded><![CDATA[<p>i agree with Hani completely on this one. The pain with the JDK classes is, that they will not fixed as long as java is on the table. Of course its silly to break backwards compatibility because of naming, but there is so much old trash in the JDK, that some general cleaning would be nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Minnutello</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6557</link>
		<dc:creator>Nick Minnutello</dc:creator>
		<pubDate>Thu, 31 Jul 2003 19:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6557</guid>
		<description>Not only would the likes of intelliJ and Eclipse warn you about this, using them properly would mean its highly unlikely that you actually typed this piece of code in the first place....


BTW: IntelliJ&#039;s explanation of this warning is amusing  : &quot;Silly assignment&quot;

Yep. It is, alright.

-Nick</description>
		<content:encoded><![CDATA[<p>Not only would the likes of intelliJ and Eclipse warn you about this, using them properly would mean its highly unlikely that you actually typed this piece of code in the first place&#8230;.</p>
<p>BTW: IntelliJ&#8217;s explanation of this warning is amusing  : &#8220;Silly assignment&#8221;</p>
<p>Yep. It is, alright.</p>
<p>-Nick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Main</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6556</link>
		<dc:creator>Nick Main</dc:creator>
		<pubDate>Thu, 31 Jul 2003 12:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6556</guid>
		<description>After being bitten by this a couple of times I do now prefix fields with m.  Granted that Eclipse underlines this as a warning - but not all IDEs would.


    private int interruptTime;
	
    public Foo( int interuptTime ) {
        this.interruptTime = interruptTime;
    }</description>
		<content:encoded><![CDATA[<p>After being bitten by this a couple of times I do now prefix fields with m.  Granted that Eclipse underlines this as a warning &#8211; but not all IDEs would.</p>
<p>    private int interruptTime;</p>
<p>    public Foo( int interuptTime ) {<br />
        this.interruptTime = interruptTime;<br />
    }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis Baranov</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6555</link>
		<dc:creator>Denis Baranov</dc:creator>
		<pubDate>Thu, 31 Jul 2003 12:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6555</guid>
		<description>Yes, peaople need to be remainded that there is such thing as &quot;Code Conventions for Java Programming Language&quot;. Because many new people come to Java and because Java grown so big that it is easy to miss this aspect.

As far as the underscores and prefixes are concerned, there is _no_ justification for that. What are you, writing methods that exceed one page? C&quot;mon! And please, take care to minimize the distance between the variable declaration and its first use, and be at peace...</description>
		<content:encoded><![CDATA[<p>Yes, peaople need to be remainded that there is such thing as &#8220;Code Conventions for Java Programming Language&#8221;. Because many new people come to Java and because Java grown so big that it is easy to miss this aspect.</p>
<p>As far as the underscores and prefixes are concerned, there is _no_ justification for that. What are you, writing methods that exceed one page? C&#8221;mon! And please, take care to minimize the distance between the variable declaration and its first use, and be at peace&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Eden</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6554</link>
		<dc:creator>Anthony Eden</dc:creator>
		<pubDate>Thu, 31 Jul 2003 11:06:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6554</guid>
		<description>We love the apostrophe...without it FreeRoller would be perfect and we would have nothing to strive for - life would be void of meaning.</description>
		<content:encoded><![CDATA[<p>We love the apostrophe&#8230;without it FreeRoller would be perfect and we would have nothing to strive for &#8211; life would be void of meaning.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6553</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 31 Jul 2003 07:32:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6553</guid>
		<description>Bah, complaining about method and class naming issues in the JDK is like shooting fish in a barrel (Url, URL is one you missed).

Please try harder Hani.</description>
		<content:encoded><![CDATA[<p>Bah, complaining about method and class naming issues in the JDK is like shooting fish in a barrel (Url, URL is one you missed).</p>
<p>Please try harder Hani.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDD</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6552</link>
		<dc:creator>TDD</dc:creator>
		<pubDate>Thu, 31 Jul 2003 05:50:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6552</guid>
		<description>Talking about writing style, isn&#039;t there anything you can do, Hani or Freeroller guys, about this damn amp-coding of single quotes in the comments?! Damn, that sucks!</description>
		<content:encoded><![CDATA[<p>Talking about writing style, isn&#8217;t there anything you can do, Hani or Freeroller guys, about this damn amp-coding of single quotes in the comments?! Damn, that sucks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDD</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6551</link>
		<dc:creator>TDD</dc:creator>
		<pubDate>Thu, 31 Jul 2003 05:49:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6551</guid>
		<description>While Sun provides countless examples of bad namings throughout the JDK, as do many commonplace third-party libs (including many in Jakarta, for instance), the few cornerstones of Sun&#039;s naming conventions make a lot of sense, in my opinion.

This is *not* to say their whole writing style guide does, for it sure does not.

As for field/method distinction, there are very few cases when fields should be other than private, as many good reviews will tell you (including Joshua Bloch&#039;s _Effective Java_), which means that most of my fields start with an underscore, a long-standing convention for private field names. Therefore, I very seldom come across a field name that does not, which makes for rare questioning on the nature of identifiers.</description>
		<content:encoded><![CDATA[<p>While Sun provides countless examples of bad namings throughout the JDK, as do many commonplace third-party libs (including many in Jakarta, for instance), the few cornerstones of Sun&#8217;s naming conventions make a lot of sense, in my opinion.</p>
<p>This is *not* to say their whole writing style guide does, for it sure does not.</p>
<p>As for field/method distinction, there are very few cases when fields should be other than private, as many good reviews will tell you (including Joshua Bloch&#8217;s _Effective Java_), which means that most of my fields start with an underscore, a long-standing convention for private field names. Therefore, I very seldom come across a field name that does not, which makes for rare questioning on the nature of identifiers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Miller</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6550</link>
		<dc:creator>Chris Miller</dc:creator>
		<pubDate>Thu, 31 Jul 2003 05:21:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6550</guid>
		<description>I&#039;m with Hani on this. Java, more so than any other language I&#039;ve worked with, has a coding convention that the majority of developers follow fairly closely. When I encounter code that uses crap like underscores or Hungarian Notation it sticks out like a sore thumb. I can accept that C++ developers think disparate variable names is a way of life, but any experienced Java should know better.

As Hani points out, IDEs are quite capable of conveying the difference between static/instance variables, indicating the object&#039;s class etc. And in ways that are far less disruptive than mentally having to parse garbage like &#039;mStrObj&#039; every few seconds. Besides, consistency in style is good regardless, since it avoids having to make small mental mode-shifts as you work across classes (or even within the same class!) where different conventions are used.

As for whitespace, tabs, bracket layout - virtually irrelevant these days thanks to code layout tools, VCS that can normalise the layout etc. AFAIK there are no tools that can normalize your naming conventions, this responsibility falls squarely onto the developer.</description>
		<content:encoded><![CDATA[<p>I&#8217;m with Hani on this. Java, more so than any other language I&#8217;ve worked with, has a coding convention that the majority of developers follow fairly closely. When I encounter code that uses crap like underscores or Hungarian Notation it sticks out like a sore thumb. I can accept that C++ developers think disparate variable names is a way of life, but any experienced Java should know better.</p>
<p>As Hani points out, IDEs are quite capable of conveying the difference between static/instance variables, indicating the object&#8217;s class etc. And in ways that are far less disruptive than mentally having to parse garbage like &#8216;mStrObj&#8217; every few seconds. Besides, consistency in style is good regardless, since it avoids having to make small mental mode-shifts as you work across classes (or even within the same class!) where different conventions are used.</p>
<p>As for whitespace, tabs, bracket layout &#8211; virtually irrelevant these days thanks to code layout tools, VCS that can normalise the layout etc. AFAIK there are no tools that can normalize your naming conventions, this responsibility falls squarely onto the developer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lowem</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6549</link>
		<dc:creator>lowem</dc:creator>
		<pubDate>Thu, 31 Jul 2003 03:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6549</guid>
		<description>You neglected to mention System.gc(), Color.black, Color.white() and so on. And while we are at it, what about Hashtable, and InetAddress.

So what are you, or anyone else, going to do about it? Throwing bile and name-calling may be fun and all but it does not change anything.

As for Hungarian or other systems of prefixes, I had a bunch of Indian developers who insisted on putting l_local_var, g_global_var, p_method_param and so on. Shrug. To each his own.

Want to go further? What about the tab vs space wars and shall we discuss how many spaces per tab? What about putting open parantheses on the same line or the next line?

We will always have people arguing about it, and stuff like this will never end.</description>
		<content:encoded><![CDATA[<p>You neglected to mention System.gc(), Color.black, Color.white() and so on. And while we are at it, what about Hashtable, and InetAddress.</p>
<p>So what are you, or anyone else, going to do about it? Throwing bile and name-calling may be fun and all but it does not change anything.</p>
<p>As for Hungarian or other systems of prefixes, I had a bunch of Indian developers who insisted on putting l_local_var, g_global_var, p_method_param and so on. Shrug. To each his own.</p>
<p>Want to go further? What about the tab vs space wars and shall we discuss how many spaces per tab? What about putting open parantheses on the same line or the next line?</p>
<p>We will always have people arguing about it, and stuff like this will never end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6548</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 31 Jul 2003 03:03:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6548</guid>
		<description>Hi,
common please elaborate a few of your bile spasms ...

&gt; [...] No less evil is m_thefield, or p_myfield.  &gt; Use a civilised IDE if you&#039;re so obsessed about &gt; distinguishing fields from variables, you 
&gt; dinosaur.

Why is it bad to distinguish instace field from variables? 
Using a good IDE is clearly _not_ a solution as that argument buries naming and coding conventions all together. You clearly are very  obsessed about method naming - so what about your IDE doesn&#039;t it help you along?! 
And don&#039;t start ranting about coding flow or memorisation issues - your IDE clearly should  alleviate those problems also - doesn&#039;t it?!

&gt;without the ludicrous prefix to denote interfaces &gt;and we might consider letting you back into &gt;civilised society.

Discussion about coding and naming styles using non zealot(aka JBoss)-like arguments is very much appreciated. Please enlighten us few turds with your wisdom about naming conventions and particularly as to _why_ they&#039;re good or bad. okay  you&#039;ve to actually think about the issues but that  doesn&#039;t seem too hard for you.

&gt; It never ceases to amaze me how many people seem &gt; to just not &#039;get&#039; the java naming conventions. I &gt; used to think it&#039;s a matter of common sense [...

Why do you think the sun java naming conventions the rosetta stone of java coding. Sun has always had a few good and lots of bad ideas. So why revere and do a singsong about their coding conventions document?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
common please elaborate a few of your bile spasms &#8230;</p>
<p>> [...] No less evil is m_thefield, or p_myfield.  > Use a civilised IDE if you&#8217;re so obsessed about > distinguishing fields from variables, you<br />
> dinosaur.</p>
<p>Why is it bad to distinguish instace field from variables?<br />
Using a good IDE is clearly _not_ a solution as that argument buries naming and coding conventions all together. You clearly are very  obsessed about method naming &#8211; so what about your IDE doesn&#8217;t it help you along?!<br />
And don&#8217;t start ranting about coding flow or memorisation issues &#8211; your IDE clearly should  alleviate those problems also &#8211; doesn&#8217;t it?!</p>
<p>>without the ludicrous prefix to denote interfaces >and we might consider letting you back into >civilised society.</p>
<p>Discussion about coding and naming styles using non zealot(aka JBoss)-like arguments is very much appreciated. Please enlighten us few turds with your wisdom about naming conventions and particularly as to _why_ they&#8217;re good or bad. okay  you&#8217;ve to actually think about the issues but that  doesn&#8217;t seem too hard for you.</p>
<p>> It never ceases to amaze me how many people seem > to just not &#8216;get&#8217; the java naming conventions. I > used to think it&#8217;s a matter of common sense [&#8230;</p>
<p>Why do you think the sun java naming conventions the rosetta stone of java coding. Sun has always had a few good and lots of bad ideas. So why revere and do a singsong about their coding conventions document?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: foo</title>
		<link>http://www.bileblog.org/2003/07/stupid-method-names-and-retarded-conventions/comment-page-1/#comment-6547</link>
		<dc:creator>foo</dc:creator>
		<pubDate>Thu, 31 Jul 2003 02:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.bileblog.org/?p=269#comment-6547</guid>
		<description>Todays rant sounds like a whining baby who needs to be angry at something.
Code in Perl the mother of all write only languages.</description>
		<content:encoded><![CDATA[<p>Todays rant sounds like a whining baby who needs to be angry at something.<br />
Code in Perl the mother of all write only languages.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

