Ian, Ian ... it's these threads that await you ;-)

On 04/02/2009, at 12:42 PM, Ian Joyner wrote:

On 04/02/2009, at 2:01 AM, Miguel Arroz wrote:

object.method( argument );

This is the worst use of white space, as explained on this page on the correct use of typography (about 2/3rds down):

http://screenfont.ca/fonts/today/interim/Arial/

It's picky, I know.

Hmm. It's also assuming that the rules of grammar, syntax, and so forth apply across the board to all languages or indeed all dialogue contexts. This is where imho you're misgivings are mis-spaced (pun intended) :-)

Now, notice how in natural language you never say mis-spaced(pun intended) but mis-spaced (pun intended). The former is not considered readable for the written word but it is for programming languages as they're treated as a unit rather than separate entities. What I placed in brackets was not a property of 'spaced' but an additional or tangential point being made.

Language written down is about conveying context in the clearest possible manner. But what works for one language does not always convey the same meaning in another.

In natural language a full-stop denotes the end of a statement. A different point is made in the next sentence, again ending with a full stop.

To follow this rule in programming every function call would need to look like this:
naturalLanguage . isHardToForceOnEverything ();

I'd rather follow what the typographers say and have respect for that art and science.

Where relevant, sure.

Alas, this is becoming more widely used in natural language( it's not right )maybe

No. It seems to me that the equivalent would be 'language( it's not right ) maybe' and any text editor should show 'language(' as misspelled. But we're not writing a natural language sentence are we?

from programmers who are adopting this bad style more and more, because programs should not be natural language, right?

Exactly. They're not. They're a different language; different syntax rules apply right?

The natural place for a space is outside parentheses and brackets:

object.method (argument);

Point left unproved imo based on examples above :-)

with regards,
--

Lachlan Deck

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to