Re: Re PDXLUG mbox to Maildir

[email protected] (Randal L. Schwartz)
Newsgroups gmane.org.user-groups.linux.pdxlug
Message-ID <[email protected]>
>>>>> "Dylan" == Dylan Reinhardt <[email protected]> writes:

Dylan> As for the confusing syntax, perhaps there aren't enough brackets and
Dylan> dollar signs?  :-)  IMO, those who have programmed much in C would find
Dylan> this style of string formatting second nature, but there are certainly
Dylan> other ways to do it, such as:

But you have to *know* that "%" does this "magical sprintf as syntax".
That's not intuitive, no matter how brainwashed you are into thinking
otherwise.

I find Python just as unreadable relative to my learning of it as most
people find Perl unreadable relative to their learning of it.

Dylan> cmd = 'sudo -u '+user_name+' mb2md -s /home/'+ user_name+'/'+mbox_name
Dylan> os.system(cmd)

Nor do I consider "+" as an intuitively normal "string concat"
operator.

My point is that Python and Perl both have learning curves, and I'm
tired of people saying "well, Python is obvious".  It's not.  It takes
learning, like everything else.

My jab was a half-smiley though. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[email protected]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.