Re: ObjC method syntax (was: Re: cocoa-dev digest, Vol 2 #3738 - 11 msgs)
Re: ObjC method syntax (was: Re: cocoa-dev digest, Vol 2 #3738 - 11 msgs)
- Subject: Re: ObjC method syntax (was: Re: cocoa-dev digest, Vol 2 #3738 - 11 msgs)
- From: Ondra Cada <email@hidden>
- Date: Thu, 26 Feb 2004 01:30:13 +0100
On Wednesday, Feb 25, 2004, at 20:44 Europe/Prague, Erik Hanson wrote:
This would be great for parentheses too. I often start an if condition
like this: "if ( a == b )" and then I remember I need to add another
condition: "if ( a == b ) && ( b == c ) )". I'd love to be able to hit
command-( to have my editor insert the "(" right after the "if".
In this case, just add the other part, without cluttering the
expression with unneeded parentheses: if (a==b && c==d) is equal with
the added benefit it is *WAYS* more readable by a human... Thanks K&R,
we got decent operator priorities in ObjC ;)))
Nevertheless, the idea of smart-pairing ['s looks great: seems to me
like a very good candidate to be added into TextExtras!
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.