Forums

New keyword "par"

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

New keyword "par"

Postby Charles » Mon Jun 21, 2010 8:43 pm

I have reserved the new keyword "par" for potential future language level features around parallel programming. If this breaks anyone's code and that's a problem, let me know and I'll look into the "virtual keyword" approach that C# has used for new keywords. Our community is still fairly small though and I doubt this is a popular parameter or local variable name.

Note that keywords never conflict with methods since methods must be accessed via a dot (.) or must start with an underscore. Also, keywords never interfere with user types which must be capitalized. So only parameters and locals are possibly affected.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Return to Discussion

Who is online

Users browsing this forum: No registered users and 111 guests

cron