"with" still sucks + removing features + adding features

Derek Parnell derek at psych.ward
Mon May 18 20:58:09 PDT 2009


On Mon, 18 May 2009 23:15:17 -0400, Jeremie Pelletier wrote:

> Derek Parnell Wrote:
>>   case [FIRST ; LAST] :
> 
> Personally I feel that your syntax breaks the condition
> (6) Must not be keystroke-heavy

Huh?? By keystroke-heavy I meant the number of keyboard presses the finger
would have to do to write it.


Ignoring FIRST/LAST, I have 3 (three) keystrokes  and Andrei has 8
keystrokes? 

Me =  [ ; ]

Andrei = SHIFT : .. case

> I like Andei's syntax best but as previously stated, its ambiguous with exclusive ranges.
> 
> Maybe the solution is a second range operator that is inclusive, such as:
>     case FIRST ... LAST:

Which is 3 keystrokes too. 

Sorry, I don't understand what you mean by saying my suggestion breaks (6).

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list