Re: Multi-assign

new topic     » goto parent     » topic index » view thread      » older message » newer message

I still like -,

{ -, lastname } = parse_name("John Doe") 

Sure, it is used in math but given the context it's pretty easy to determine it's not subtracting any numbers. Also consider my previous statement of making this newly chosen character (whatever it is) valid for function calls instead of just an extra comma:

some_func("John", -, "Doe") 
 
-- vs 
 
some_func("John", $, "Doe") 

Besides, $ requires a shift, - doesn't, that's reason enough grin

Jeremy

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu