On 12/9/06, Michael Peters <[EMAIL PROTECTED]> wrote:
>
> Peter Michaux wrote:
>
> > But we are still distributing the code every time it needs to be used
> > so short without being ridiculous is better.
>
> [snip]
>
> > The author written inline documentation will make it abundantly clear
> > what these short-lived identifiers mean.
>
> So replace normal descriptive variable names with shorter ones to save on 
> bytes
> downloaded, but then eliminate those savings by writing documentation to 
> explain
> what those short variable names represent?
>
> ... ummm... ??? (scratching my head) ... ?? (thinking some more) ... (nope,
> still confused)

Code should be commented. Descriptive identifiers will never get around that.

However there is no need to ever serve comments or unnecessary
whitespace. That is just wasting time and money.

http://www.crockford.com/javascript/jsmin.html

Peter

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to