Il court, il court

Il est passé par ici, il repassera par là

Bad example – part 5 August 12, 2010

Filed under: work — ilcourtilcourt @ 08:09

I for one prefer to use parenthesis for return, I find it easier to read

The argument to the return statement is in parentheses. This seems to be a popular construct, which I simply do not understand. What benefit do the parentheses confer? To those that ask what harm are they doing, then I would suggest that they make the code harder to read.

via Setting a bad example – part 5 « Stack Overflow.

Advertisements
 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s