Re: underscores in the core lib

2006-08-16 Thread Charles Bailey
On 8/10/06, Larry Wall [EMAIL PROTECTED] wrote: Yes, it's a design smell. The point of core is to huffman code common things, so something in core with _ should normally either be shorter or out of the core. Would it be adequate to say think hard about keeping core names concise, but prefer

Re: underscores in the core lib

2006-08-11 Thread Luke Palmer
On 8/10/06, Larry Wall [EMAIL PROTECTED] wrote: Yes, it's a design smell. The point of core is to huffman code common things, so something in core with _ should normally either be shorter or out of the core. I don't think I agree. I've been programming in Ruby, and I appreciate all the nice

Re: underscores in the core lib

2006-08-11 Thread Audrey Tang
在 2006/8/11 下午 2:35 時,Luke Palmer 寫到: I think that standard functions ought not to have underscores *most of the time*, because their presence indicates something that could be better named or is miscategorized. However, for methods, especially advanced or introspective methods, I think longer

Re: underscores in the core lib

2006-08-11 Thread Larry Wall
On Fri, Aug 11, 2006 at 11:28:08PM +0800, Audrey Tang wrote: : For other built-in types, I think underscore names are just fine. For example, : metaclass methods such as Class.has_method should indeed remain as such. :) That's fine--I don't think of anything behind the META curtain as core, at

Re: underscores in the core lib

2006-08-10 Thread Eric
I think .valid is an excellent argument for underscores all by itself. Unless you already know what it means you don't have any clue that its not actualy the word valid instead of val_id. I don't know of any other problems like this, but at very least that should be changed. Don't we still try

Re: underscores in the core lib

2006-08-10 Thread Juerd
Eric skribis 2006-08-10 10:22 (-0600): I think .valid is an excellent argument for underscores all by itself. I think it's an argument for reconsidering the name of that method. valueid is only 2 characters more. I'm personally against non-prefix underscores in any core identifier. I agree

Re: underscores in the core lib

2006-08-10 Thread Larry Wall
On Thu, Aug 10, 2006 at 07:02:13PM +0200, Juerd wrote: : Eric skribis 2006-08-10 10:22 (-0600): : I think .valid is an excellent argument for underscores all by itself. : : I think it's an argument for reconsidering the name of that method. : valueid is only 2 characters more. Okay, I'll just

underscores in the core lib

2006-08-06 Thread Yuval Kogman
Hi, Audrey mentioned that Perl 6 is trying to avoid underscores in the core library. It came up when I asked why valid isn't called value_id because if ( $user_input.valid ) { } reads fairly confusingly. So, a few questions: 1. what is the official naming style for the Pelr 6 standard library

Re: underscores in the core lib

2006-08-06 Thread Ashley Winters
On 8/6/06, Yuval Kogman [EMAIL PROTECTED] wrote: Hi, Audrey mentioned that Perl 6 is trying to avoid underscores in the core library. It came up when I asked why valid isn't called value_id because if ( $user_input.valid ) { } reads fairly confusingly. So, a few questions: 1. what is the