I think the only rule is not to use all lower case - that's reserved by Perl itself.
2003-03-01 06058, 2003
soccos
fair enough
2003-03-01 06006, 2003
phidauex
i'm all for camel case
2003-03-01 06018, 2003
phidauex
it reminds me of wiki's and Cocoa
2003-03-01 06025, 2003
phidauex
both of which are pleasant
2003-03-01 06027, 2003
soccos realises he has a CPAN module with a camel case namespace ;-)
2003-03-01 06034, 2003
phidauex
heh ;)
2003-03-01 06034, 2003
djce
:-)
2003-03-01 06000, 2003
djce
Catchy name for it, too. I haven't heard it called that before.
2003-03-01 06002, 2003
phidauex
oh emoticon, is there no emotion you are not equipped to emulate?
2003-03-01 06041, 2003
soccos
there's an argument that everything Perl should be camel case
2003-03-01 06059, 2003
phidauex
based on anything more than the fact that there is a camel on the perl book?
2003-03-01 06010, 2003
phidauex
I think it makes code pretty readable
2003-03-01 06015, 2003
alus wonders if libmusicbrainz2 will compile on cygwin
2003-03-01 06015, 2003
soccos
no, nothing more than that :)
2003-03-01 06051, 2003
soccos
alus "Untested"
2003-03-01 06010, 2003
soccos
go on, you know you want to :)
2003-03-01 06019, 2003
phidauex
cfcreateurlbyaddingpercentescapes or CFCreateURLByAddingPercentEscapes
2003-03-01 06026, 2003
phidauex
i choose #2
2003-03-01 06029, 2003
alus
2
2003-03-01 06039, 2003
soccos
this_is_the_perl_way
2003-03-01 06059, 2003
phidauex
that_takes_to_much_time
2003-03-01 06008, 2003
soccos
not_if_you_can_touch_type
2003-03-01 06009, 2003
phidauex
it takes two strokes to generate an underscore
2003-03-01 06021, 2003
phidauex
shift -
2003-03-01 06033, 2003
phidauex
however, camel case is just like normal writing, cept' you leave out the space
2003-03-01 06048, 2003
soccos
you still have to shift though
2003-03-01 06055, 2003
phidauex
if you count the shift-letter as two strokes, then its the same as normal writing
2003-03-01 06021, 2003
phidauex
the_perl_way takes 14 strokes
2003-03-01 06027, 2003
soccos
I'd never really thought about it but I think the underscores is more readable
2003-03-01 06041, 2003
phidauex
thePerlWay takes 12
2003-03-01 06051, 2003
phidauex
i suppose they are both pretty readable
2003-03-01 06015, 2003
soccos
better than all lowercase
2003-03-01 06031, 2003
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
2003-03-01 06052, 2003
phidauex
i mean, when you are already dealing with things like initializeWithURLByRemovingStandardPercentEscapes
2003-03-01 06013, 2003
phidauex
writing it as initialize_with_url_by_removing_standard_percent_escapes is just getting nuts
2003-03-01 06059, 2003
soccos
maybe the object model is wrong
2003-03-01 06029, 2003
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
2003-03-01 06008, 2003
phidauex
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
2003-03-01 06042, 2003
soccos
wow Sander did a good job with the Perl bindings
2003-03-01 06019, 2003
soccos
I don't suppose any Perl is allowed in building wikipedia pages
2003-03-01 06051, 2003
soccos
(or any other binding for that matter)?
2003-03-01 06009, 2003
soccos
I was thinking it would be pretty easy to automate adding MB links that way
2003-03-01 06014, 2003
djce
g'nite all
2003-03-01 06023, 2003
soccos
bye
2003-03-01 06028, 2003
djce has quit
2003-03-01 06014, 2003
soccos
soccos is now known as soccos|away
2003-03-01 06021, 2003
alus
hm, libmusicbrainz seemed to install fine, but the Client perl module failed trying to access it