• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] Spaces inside parenthesis
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Spaces inside parenthesis


  • Subject: Re: [OT] Spaces inside parenthesis
  • From: Ian Joyner <email@hidden>
  • Date: Wed, 4 Feb 2009 12:42:06 +1100

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

Hi!

Sorry about the off-topic, but Eclipse is driving me nuts with this. I like to leave a space before and after everything between parenthesis, like:

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. I'd rather follow what the typographers say and have respect for that art and science. Alas, this is becoming more widely used in natural language( it's not right )maybe from programmers who are adopting this bad style more and more, because programs should not be natural language, right? The natural place for a space is outside parentheses and brackets:

object.method (argument);

(The rest of the above web site is interesting to ban all those wacky MS fonts, such as Arial, Times New Roman, Verdana, etc.)

Fortunately, more editors these days are able to format according to preferences of individual viewers.


 instead of

 object.method(argument);

The problem is that Eclipse prefers the second way, and every time it touches the code for some reason (reformatting, auto-complete, etc) I have to add the spaces manually. How can I convince Eclipse to do what I want?

 Yours

Miguel Arroz

_______________________________________________ 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
  • Follow-Ups:
    • Re: [OT] Spaces inside parenthesis
      • From: Lachlan Deck <email@hidden>
References: 
 >[OT] Spaces inside parenthesis (From: Miguel Arroz <email@hidden>)

  • Prev by Date: Opinions Please - WebObjects JVM Encoding Strategies
  • Next by Date: Re: Opinions Please - WebObjects JVM Encoding Strategies
  • Previous by thread: Re: [OT] Spaces inside parenthesis
  • Next by thread: Re: [OT] Spaces inside parenthesis
  • Index(es):
    • Date
    • Thread