IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New I'm using it to build a complicated site right now
Not sure what libraries might be missing, but there are some ridiculously complex things out there on Python right now.

I'm not sure why you would say Python is for real programmers if Perl is an alternative. Kids learn Python... not Perl.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New You misunderstood
Perl grew organically from a really complex group of starting ideas, ie: the various command line programs he was trying to do without. This means lots of little rules to keep track of. I do not claim this is good.

Python has a logical design to start off with. This design supports real programs. Not having real experience in it, I can't say past that.

Since perl's "design" is mostly slapping sysadmin pieces together, it SHINES for those tasks, and can be abused for others. If someone already understands the bash/awk/grep/sed/tr/cut/paste pipelines, then pretty much everything they are used to doing on the command line can be written in a very short perl script, but with decent error checking and error recovery and logging, all the shit that is awful in standard shell programming.

If someone wants to argue that, I'd like them to play with the 'trap' in shell scripts to handle error conditions in a complex multi-script system. While simultaneously checking return codes from programs called and remember zero, ie: false, is good. And then realizing you gotta deal with the shift operator to deal with anything else. While pulling output from both STDOUT and STDERR (oh the fun of multiple substituted redirection to put things in log files. And processing the STDOUT at the same time in the next program. And using the 'test', ie: '[' program to handle the various inequalities. And abusing the shell to do decent math at the same time. And cut/paste pipelines are awful.

I found it amusing that jake's default thought concerning perl was for data processing rather than admin tasks. Most admins will NEVER be "real" programmers. It is a different mindset. But they need programming tools for short tasks. So perl took shell style command line programming brevity and added some nice wrappers around it. So it is a short jump for sysadmins to use it for their tasks, while not being required to adhere to a stronger "programming" philosophy. Sure, this annoys "real" programmers, but it is really the core use and "design" philosophy of the language.

Expand Edited by crazy April 11, 2013, 07:30:29 AM EDT
     How I wish thee were not around... - (folkert) - (20)
         notepad++ is your friend for copypasta to commandline - (boxley) - (18)
             Found a limitation of Notepad++ - (Another Scott) - (17)
                 Classic interview questions - (crazy) - (16)
                     I always use regexes in vim ... would that be a flag? - (drook) - (3)
                         Possibly - (crazy) - (2)
                             Meh. - (malraux) - (1)
                                 Yes, we've had this discussion - (crazy)
                     I don't want anything to do with excel - (boxley)
                     Heh, in all honesty - (jake123) - (10)
                         Oh, how 70s/early 80s of you - (crazy) - (9)
                             The thing for me - (jake123) - (2)
                                 Hehe - (crazy) - (1)
                                     Nice turn of phrase :) -NT - (jake123)
                             I'd rather use something readable, like Python - (malraux) - (5)
                                 Or Ruby. -NT - (static) - (1)
                                     Note where I said "explicit" - (malraux)
                                 Sad, but I agree - (crazy) - (2)
                                     I'm using it to build a complicated site right now - (malraux) - (1)
                                         You misunderstood - (crazy)
         Beat me to it... - (malraux)

This random post brought to you by the letters A, Q, and Peter.
43 ms