Re: Discuss change of namespace Test::Builder2 - TB2?
On 11/15/11 8:40 AM, Leon Timmermans wrote: I'm not seeing the point really. By this logic we can reduce all frameworks on CPAN to some three letter acronym. To be honest I don't think Test::Builder is used directly often enough to justify that. I'm against abbreviation; it makes things harder to read. Your text editor's completion mechanism should take care of having to typing out long names.
Re: Discuss change of namespace Test::Builder2 - TB2?
On 2011.11.15 6:40 AM, Leon Timmermans wrote: I'm not seeing the point really. By this logic we can reduce all frameworks on CPAN to some three letter acronym. To be honest I don't think Test::Builder is used directly often enough to justify that. Test::Builder was just one monolithic module. It isn't any more. There's lots of pieces now. People who develop Test modules that do interesting things will be typing it more often. People who don't won't even know anything has changed, so they're not really a concern. Elliot Shank uttered: I'm against abbreviation; it makes things harder to read. Your text editor's completion mechanism should take care of having to typing out long names. When you make them up on the spot and use them twice, abbreviations are bad. When you repeat it 1300 times in the project... folks will figure it out. While I agree good editor skills are good, and I have a crappy editor isn't an excuse, getting an editor to autocomplete Perl class names is non-trivial. It gets into TAG files and having the editor be aware of the whole project and parsing Perl correctly and guh. I don't know how to do it. I don't expect contributors and users to know or have a copy of Perl Hacks. -- 101. I am not allowed to mount a bayonet on a crew-served weapon. -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http://skippyslist.com/list/
Re: Discuss change of namespace Test::Builder2 - TB2?
On 2011.11.14 12:41 AM, Philippe Bruhat (BooK) wrote: I'm more annoyed with the version number being part of the name. Even if I can understand the reason why (CPAN only knows one way to upgrade: up). I used to be with you there. I've since found it's a remarkably simple and foolproof way to indicate an API split. The name, code and docs are neatly delineated. It works with all existing CPAN tools. Both API versions can exist in harmony. The name change tells the user this is not their father's Kansas. Besides, tee bee two rolls off the mouth nicely and TB:: is a bit too short. -- I have a date with some giant cartoon robots and booze.
Re: Discuss change of namespace Test::Builder2 - TB2?
- Original Message - From: Michael G Schwern schw...@pobox.com On 2011.11.14 12:41 AM, Philippe Bruhat (BooK) wrote: I'm more annoyed with the version number being part of the name. Even if I can understand the reason why (CPAN only knows one way to upgrade: up). I used to be with you there. I've since found it's a remarkably simple and foolproof way to indicate an API split. The name, code and docs are neatly delineated. It works with all existing CPAN tools. Both API versions can exist in harmony. The name change tells the user this is not their father's Kansas. Besides, tee bee two rolls off the mouth nicely and TB:: is a bit too short. Tee bee and not tee bee two? That is the question. Whether to suffer the slings and arrows of outrageous attempts at humor ... Cheers, Ovid (though clearly no longer worth of that moniker) -- Live and work overseas - http://overseas-exile.blogspot.com/ Buy the book - http://www.oreilly.com/catalog/perlhks/ Tech blog - http://blogs.perl.org/users/ovid/ Twitter - http://twitter.com/OvidPerl/
Re: Discuss change of namespace Test::Builder2 - TB2?
On Sun, Nov 13, 2011 at 07:11:28PM -0800, Michael G Schwern wrote: In the interest of saving my hands, and the hands of test module authors, I'm considering changing the namespace from Test::Builder2 to just TB2. Like LWP and DBI. Test::Builder, Test::More and Test::Simple remain unchanged. Thoughts? I see no problems. When something becomes very common a short form is welcome. -- Paul Johnson - p...@pjcj.net http://www.pjcj.net