New module naming

2011-11-08 Thread Trystan
Hi. I've written few libraries I'd like to release on CPAN and I'm looking for some advice on how to name them. I found this idea in Head First OOADhttp://headfirstlabs.com/books/hfooad/, chapter 5. It's somewhat like a very simple version of Key-Value

Re: New module naming

2011-11-08 Thread sawyer x
Wow this has turned into a monster thread... ouch. On Mon, Nov 7, 2011 at 7:42 PM, Shlomi Fish shlo...@shlomifish.org wrote: Hi Sawyer, Hey. :) The problem is that using my $a and my $b will prevent the built-in $a and $b from being used and as a result is a bad idea. We should make sure

Re: New module naming

2011-11-08 Thread Shlomi Fish
Hello Sawyer, On Tue, 8 Nov 2011 17:38:56 +0200 sawyer x xsawy...@gmail.com wrote: Wow this has turned into a monster thread... ouch. On Mon, Nov 7, 2011 at 7:42 PM, Shlomi Fish shlo...@shlomifish.org wrote: The problem is that using my $a and my $b will prevent the built-in $a and $b

Re: New module naming

2011-11-07 Thread Shlomi Fish
Hi Trystan, On Sun, 6 Nov 2011 16:28:03 -0600 Trystan trysta...@gmail.com wrote: Hi. I've written few libraries I'd like to release on CPAN and I'm looking for some advice on how to name them. I found this idea in Head First OOADhttp://headfirstlabs.com/books/hfooad/, chapter 5. It's

Re: New module naming

2011-11-07 Thread Serguei Trouchelle
What about Object::KVC, Object::KVC::String, Object::KVC::List? Trystan wrote: I found this idea in Head First OOAD http://headfirstlabs.com/books/hfooad/, chapter 5. It's somewhat like a very simple version of Key-Value Coding

Re: New module naming

2011-11-07 Thread sawyer x
On Mon, Nov 7, 2011 at 10:07 AM, Shlomi Fish shlo...@shlomifish.org wrote: You shouldn't call lexical variables $a and $b: That was a completely pointless comment, Shlomi. He's trying to showcase an action on two objects that have the exact same level of importance and relevance. Calling

Re: New module naming

2011-11-07 Thread Trystan
What about Object::KVC, Object::KVC::String, Object::KVC::List? KVC it is. I had actually been considering that. In the Object::Generic documentation the author says his module should have been in the Class:: namespace. What is the difference between the Object:: namespace and Class::

Re: New module naming

2011-11-07 Thread Aristotle Pagaltzis
* Trystan trysta...@gmail.com [2011-11-06 23:30]: I found this idea in Head First OOADhttp://headfirstlabs.com/books/hfooad/, chapter 5. It's somewhat like a very simple version of Key-Value

Re: New module naming

2011-11-07 Thread Trystan
On Mon, Nov 7, 2011 at 12:39 PM, Aristotle Pagaltzis pagalt...@gmx.dewrote: * Trystan trysta...@gmail.com [2011-11-06 23:30]: I found this idea in Head First OOADhttp://headfirstlabs.com/books/hfooad/, chapter 5. It's somewhat like a very simple version of Key-Value Coding

Re: New module naming

2011-11-07 Thread Bob Parker
-Original Message- From: Shlomi Fish shlo...@shlomifish.org Date: Mon, 7 Nov 2011 19:42:35 +0200 To: sawyer x xsawy...@gmail.com Cc: Perl Module Authors List module-authors@perl.org Subject: Re: New module naming Hi Sawyer, On Mon, 7 Nov 2011 13:36:58 +0200 sawyer x xsawy...@gmail.com

Politics Personalities - was Re: New module naming

2011-11-07 Thread Bob Parker
From: Eirik Berg Hanssen ebhans...@cpan.org Reply-To: ebhans...@cpan.org Date: Mon, 7 Nov 2011 21:39:15 +0100 To: Bob Parker b...@perldevgeek.com Cc: Shlomi Fish shlo...@shlomifish.org, Perl Module Authors List module-authors@perl.org Subject: Re: New module naming On Mon, Nov 7, 2011

Re: New module naming

2011-11-07 Thread Trystan
Uhm. So when would I ever use this over a simple hash? Well I used it because the application I'm working on has a data model with a lot of variation (I did this instead of creating a massive class hierarchy). The accessors are the hash key scalar string. The 'equals' and 'contains' methods are

Taking another swing [was: New module naming]

2011-11-07 Thread Aristotle Pagaltzis
* sawyer x xsawy...@gmail.com [2011-11-07 12:40]: * Shlomi Fish shlo...@shlomifish.org [2011-11-07 18:45]: You shouldn't call lexical variables $a and $b: That was a completely pointless comment, Shlomi. Only in sending it to the list instead of as a private comment, and in his way of

Re: Politics Personalities - was Re: New module naming

2011-11-07 Thread Aristotle Pagaltzis
* Bob Parker b...@perldevgeek.com [2011-11-07 22:15]: Perhaps you are a fan of the guy, perhaps not - I don't know you. Perhaps it doesn’t even matter. Perhaps you can be a decent person to someone you dislike. What I do know is that for the past several years, I have seen what should have

Re: Taking another swing [was: New module naming]

2011-11-07 Thread Bob Parker
Clearly you are another fanboy of Shlomi's. -Original Message- From: Aristotle Pagaltzis pagalt...@gmx.de Date: Mon, 7 Nov 2011 23:46:02 +0100 To: Perl Module Authors List module-authors@perl.org Subject: Taking another swing [was: New module naming] * sawyer x xsawy...@gmail.com [2011

Re: Taking another swing [was: New module naming]

2011-11-07 Thread Aristotle Pagaltzis
* Bob Parker b...@perldevgeek.com [2011-11-08 00:30]: Clearly you are another fanboy of Shlomi's. You found me out. I am two days short of proposing gay marriage to him. * Aristotle Pagaltzis pagalt...@gmx.de [2011-11-07 23:50]: * sawyer x xsawy...@gmail.com [2011-11-07 12:40]: This is a

Re: Taking another swing [was: New module naming]

2011-11-07 Thread Bob Parker
of the mailing list's time. If you have anything further to say, you can say it privately. -Original Message- From: Aristotle Pagaltzis pagalt...@gmx.de Date: Tue, 8 Nov 2011 02:22:15 +0100 To: Perl Module Authors List module-authors@perl.org Subject: Re: Taking another swing [was: New module naming

Re: Taking another swing [was: New module naming]

2011-11-07 Thread Aristotle Pagaltzis
* Bob Parker b...@perldevgeek.com [2011-11-08 04:55]: Aristotle you are, by your words and deeds in this thread, what was known in my days in school as a bully. Apparently age and so-called maturity has not changed that. Hating Shlomi does not justify bullying him and painting me as the bully

Re: New module naming

2011-11-07 Thread Eirik Berg Hanssen
On Mon, Nov 7, 2011 at 9:28 PM, Bob Parker b...@perldevgeek.com wrote: In this particular case, pretty much everyone clearly understood that what was given was a GENERIC EXAMPLE, not real code. It didn't call for code review, comment or criticism on the use of variables or their naming. What

Re: New module naming

2011-11-07 Thread Eirik Berg Hanssen
On Mon, Nov 7, 2011 at 12:36 PM, sawyer x xsawy...@gmail.com wrote: This is a case where $a and $b makes absolute sense. It is also the same case as Perl's sort() function that uses $a and $b to indicate two values of the same importance. ... except declaring them as lexicals still

Re: Taking another swing [was: New module naming]

2011-11-07 Thread Zbigniew Łukasiak
On Tue, Nov 8, 2011 at 2:22 AM, Aristotle Pagaltzis pagalt...@gmx.de wrote: ... In the real world people learn by copy-pasting code and tweaking until it seems to do what they wanted. Every code example should be as close to real working code as possible, ideally *should* be real working

New module naming

2011-11-06 Thread Trystan
Hi. I've written few libraries I'd like to release on CPAN and I'm looking for some advice on how to name them. I found this idea in Head First OOADhttp://headfirstlabs.com/books/hfooad/, chapter 5. It's somewhat like a very simple version of Key-Value