Re: Error Laziness?

2005-11-16 Thread Austin Hastings
Luke Palmer wrote: There are two reasons I've posted to perl6-language this time. First of all, is this acceptable behavior? Is it okay to die before the arguments to an undefined sub are evaluated? Something like: widgetMethod new Widget; The best argument I've got for forcing the args

Hyphens vs. Underscores

2005-11-16 Thread Daniel Brockman
I'm not a Lisp weenie. However, I have always preferred hyphens over underscores, and I have always preferred identifiers that use delimiters over camel-cased ones. I just think `foo-bar-baz' looks better than `foo_bar_baz'. Maybe it's the lexical connotation of hyphens from natural language (it

Re: Hyphens vs. Underscores

2005-11-16 Thread Sebastian
I like hyphens. They're easier to type and help prevent_me_from_Doing_This and generating errors because of case sensitivity. On the other hand, consistency of appearance may be a problem for some people. I often associate code with the way it looks on screen, not necessarily with what it does or

Re: Hyphens vs. Underscores

2005-11-16 Thread Daniel Brockman
Sebastian, I like hyphens. They're easier to type and help prevent_me_from_Doing_This and generating errors because of case sensitivity. On the other hand, consistency of appearance may be a problem for some people. I often associate code with the way it looks on screen, not necessarily

Re: Hyphens vs. Underscores

2005-11-16 Thread chromatic
On Thu, 2005-11-17 at 05:31 +0100, Daniel Brockman wrote: This is a very valid concern, but the problem will not arise unless people start mixing these two styles --- something which is very obviously not a good idea. That doesn't mean that people will avoid it, by accident or on purpose.

Re: Hyphens vs. Underscores

2005-11-16 Thread Brent 'Dax' Royal-Gordon
Daniel Brockman [EMAIL PROTECTED] wrote: So what is my suggestion? Obviously disallowing underscores and instead allowing hyphens would just replace one problem with an even worse problem (not only would there still be people who don't like hyphens, but it would alienate a large portion of

Re: Hyphens vs. Underscores

2005-11-16 Thread Daniel Brockman
Thank you for your considerate reply, Brent. I see a few syntactic problems with this idea: the subtraction and negation operators you already mentioned, Did I miss any problems related to those? but also the fact that dashes are already used in package names to indicate version and author

Re: Hyphens vs. Underscores

2005-11-16 Thread chromatic
On Thu, 2005-11-17 at 07:27 +0100, Daniel Brockman wrote: Yet you have the choice of where to put your braces, even though the braces don't lend themselves to different tasks depending on whether you put them on a new line or not. You *don't* have the choice to use different types of braces,

Re: Hyphens vs. Underscores

2005-11-16 Thread Daniel Brockman
chromatic [EMAIL PROTECTED] writes: Yet you have the choice of where to put your braces, even though the braces don't lend themselves to different tasks depending on whether you put them on a new line or not. You *don't* have the choice to use different types of braces, though -- at least