Re: Most requested stuff on Google Moderator
Re: Most requested stuff on Google Moderator
- Subject: Re: Most requested stuff on Google Moderator
- From: David Avendasora <email@hidden>
- Date: Wed, 28 Mar 2012 16:23:58 +0800
On Mar 28, 2012, at 3:31 PM, Farrukh Ijaz wrote: return contentDisposition != null && (contentDisposition.indexOf("inline") > -1 || contentDisposition.indexOf("attachment") > -1);
Seriously, who can read that and make sense of it immediately?!
This is programmers shorthand. They master it with time. If you find these statements somewhere in the code, consider that piece of code been written by an experienced programmer which is less likely to have bugs. This is style is still not difficult than what you can find in a TopCoder algorithm which contains is full of boolean and bit manipulation operators.
I have to _vehemently_ disagree. One way many people learn how to be good coders it by looking at other people's code and being able to see what it does. Not only that, but the assumption that it's less likely to have bugs because it is obtuse?! Are you serious?
This is one of the most elitist things I've heard said on the WO-dev list.
Dave
—————————————————————————————
WebObjects - so easy that even Dave Avendasora can do it!™ ————————————————————————————— David Avendasora Senior Software Abuser Kaiten, Inc.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden