I think the only rule is not to use all lower case - that's reserved by Perl itself.
soccos
fair enough
phidauex
i'm all for camel case
it reminds me of wiki's and Cocoa
both of which are pleasant
soccos realises he has a CPAN module with a camel case namespace ;-)
heh ;)
djce
:-)
Catchy name for it, too. I haven't heard it called that before.
phidauex
oh emoticon, is there no emotion you are not equipped to emulate?
soccos
there's an argument that everything Perl should be camel case
phidauex
based on anything more than the fact that there is a camel on the perl book?
I think it makes code pretty readable
alus wonders if libmusicbrainz2 will compile on cygwin
soccos
no, nothing more than that :)
alus "Untested"
go on, you know you want to :)
phidauex
cfcreateurlbyaddingpercentescapes or CFCreateURLByAddingPercentEscapes
i choose #2
alus
2
soccos
this_is_the_perl_way
phidauex
that_takes_to_much_time
soccos
not_if_you_can_touch_type
phidauex
it takes two strokes to generate an underscore
shift -
however, camel case is just like normal writing, cept' you leave out the space
soccos
you still have to shift though
phidauex
if you count the shift-letter as two strokes, then its the same as normal writing
the_perl_way takes 14 strokes
soccos
I'd never really thought about it but I think the underscores is more readable
phidauex
thePerlWay takes 12
i suppose they are both pretty readable
soccos
better than all lowercase
phidauex
one benefit of camel case, at least in the cocoa frameworks, is that since most method names are incredibly long, the addition of underscores can really bloat out a line of code
i mean, when you are already dealing with things like initializeWithURLByRemovingStandardPercentEscapes
writing it as initialize_with_url_by_removing_standard_percent_escapes is just getting nuts
soccos
maybe the object model is wrong
phidauex
could be. some of the cocoa methods are very long. but that goes along with their philosophy of making it incredibly easy to use
often if you want to do something, you can just guess, and 9 times out of 10 the method name you guessed will actually exist
soccos
wow Sander did a good job with the Perl bindings
I don't suppose any Perl is allowed in building wikipedia pages
(or any other binding for that matter)?
I was thinking it would be pretty easy to automate adding MB links that way
djce
g'nite all
soccos
bye
djce has quit
soccos is now known as soccos|away
alus
hm, libmusicbrainz seemed to install fine, but the Client perl module failed trying to access it