bug-gnupod
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnupod] mktunes.pl creates corrupt iTunesDB ?


From: H. Langos
Subject: Re: [Bug-gnupod] mktunes.pl creates corrupt iTunesDB ?
Date: Fri, 19 Jun 2009 10:27:23 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Jun 18, 2009 at 09:01:40AM +0200, Richard van den Berg wrote:
> On Thu, June 18, 2009 08:22, H. Langos wrote:
> > Did I mention before that I hate perl? :-)
> 
> In about every other post to this list. ;-) To me, the things about perl
> that I sometimes hate let me very quickly write code that does what I want
> at other times. 

Well, thats what perl is good for .. one-shot programms and rapid
prototypes. And I use it a lot for this purpose almost every day. 
For something sustainable you'd want a strongly typed language with a less 
fuzzy syntax. Sustainable meaning that development can be done by teams 
with changing members. With perl it seems you always need one person, or 
at least a strong core team to keep the code somewhat consistent.

> When I started with the tunes2pod code I thought "damn,
> this is going to be very hard to do". Then one hour later I was done and
> it worked. :-)

Good thing you mention tunes2pod. Please try to make your changes optional.
Something like a "--merge" option to express that you are going to merge
iTunesDB and GNUtunesDB.xml

 
> >> Both forms are in use in the gnupod code at the moment, I just picked
> >> the first..
> >
> > Check if they are used for the same purpose. :-)
> 
> They are. I'm very good at copy-and-paste and mimicking other people's
> style. I realize that most of the gnupod code is not yours, so don't blame
> me for using Adrian's coding style. :-)

I still struggle to find a good coding style in perl myself. So no worries.

cheers
-henrik





reply via email to

[Prev in Thread] Current Thread [Next in Thread]