>>>>> "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!
_______________________________________________
PDXLUG mailing list
[EMAIL PROTECTED]
http://pdxlug.org/mailman/listinfo/pdxlug

Reply via email to