How-much-space-do-those-hyphens-take?
arcanesentiment.blogspot.com
How-much-space-do-those-hyphens-take?
1–9 of 9 posts
Re: How-much-space-do-those-hyphens-take?
#2Anyway all those extra bytes are mostly inconsequential unless you're sending that code over the wire on a regular basis (as with client-side javascript).
Re: How-much-space-do-those-hyphens-take?
#3Re: How-much-space-do-those-hyphens-take?
#4Re: How-much-space-do-those-hyphens-take?
#5I guess the guy has a point, but ... I still disagree. There are only two ways to name multiword identifiers, this-is-a-multiword-identifier or this_is_a_multiword_identifier. Both take the same amount of space, and the lisp-version is easier. No serious programmer would write thisIsAMultiwordIdentifier, so it doesn't matter that it's shorter. It saves a few bytes, but it will ensure that your program is completely u…
Re: How-much-space-do-those-hyphens-take?
#6Hey guys, lets all dance on the head of a pen together--ruminating on the blatantly obvious! Anyway all those extra bytes are mostly inconsequential unless you're sending that code over the wire on a regular basis (as with client-side javascript).
There's a mild case for different code styles from a readability perspective, I guess. But arguing for (e.g.) case insensitive symbol names because the it takes too long to reach the shift key is just insane. But regardless: code readability is 90% a function of organization, not style. I will always prefer to work on well-organized code in mixed styles (or languages) than spaghetti code that adheres strictly to an elaborate style convention.
Re: How-much-space-do-those-hyphens-take?
#7Re: How-much-space-do-those-hyphens-take?
#8I guess the guy has a point, but ... I still disagree. There are only two ways to name multiword identifiers, this-is-a-multiword-identifier or this_is_a_multiword_identifier. Both take the same amount of space, and the lisp-version is easier. No serious programmer would write thisIsAMultiwordIdentifier, so it doesn't matter that it's shorter. It saves a few bytes, but it will ensure that your program is completely u…