[antlr-interest] Re: Why Java programmers are more productive...

Paul J. Lucas pauljlucas at mac.com
Mon Oct 25 13:07:17 PDT 2004


On Mon, 25 Oct 2004, atripp54321 wrote:

> See <a href="http://jazillian.com/reasons.html">here</a> 
> For about 50 reasons why I think Java programmers are
> more productive than C programmers. Most of the reasons apply
> to C++ too.

	Although I generally loath to enter a language Jihad, many of
	the comments there are disingenuous.  For example, the comment
	"Java has a built-in boolean type" gives an example of how, in
	C, you can accidentally do:

		int x;
		/* ... */
		if ( x = TRUE )		/* oops: meant x == TRUE */
			/* ... */;

	The author "conveniently" fails to point out that you can do
	the exact same thing in Java as the following is perfectly
	legal Java code:

		boolean x;
		// ...
		if ( x = true )		// oops: meant x == true
			/* ... */;

	Besides, it's not like Java invented the Boolean type.

	- Paul



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list