Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: regarding intolerance to perl which I observe

by SuicideJunkie (Vicar)
on Jul 26, 2013 at 16:29 UTC ( [id://1046555]=note: print w/replies, xml ) Need Help??


in reply to regarding intolerance to perl which I observe

I first heard of Perl at work. It isn't used a lot, but was used for generating reports that customers could modify to their whims, and I was tasked to make a new one.

I've since used it in most of what I do, even if for prototyping features before modifying the legacy C++ code. I recently used it to great effect to slam out analyses of 20 megs of log file and provide fast answers to questions while the director and head QA guy were standing at my desk discussing the field problem.

The Python guys around here tend to do more low level things with driver DLL calls and such. I've done more visible things, and quite a few have gone out to other departments and countries.

One thing that might be handy is to package the code up with Cava Packager for example. Just hand off the exe & libs folder and it'll work. They don't need to see the source or rewrite it; make it obvious that the program is already done and in a neat tidy "box".

  • Comment on Re: regarding intolerance to perl which I observe

Replies are listed 'Best First'.
Re^2: regarding intolerance to perl which I observe
by fisher (Priest) on Jul 26, 2013 at 16:53 UTC
    Thanks for your answer, I think I get what you're talking about but it is not the case for me. First, we have here a mixture of linuxes and macs, so I can't just make an executable bundle. Second, yes, I did really visible thing, you really have to be blind not to see it; visible, but still unwanted and therefore useless.

    Our management doesn't want to hear about perl - they believe that perl not only useless but dangerous, because 'it hard to maintain and support'. 'You can write the perl code', they say, 'but you can't read it'.

      Well, odds are good that nothing could convince them if they're truly set in their ways. All you can do is write good, readable code and look for open minded people.

      My scheme for making code readable is to try and avoid the need for comments. Use perl's keywords and your own names to have the code say things in English as much as possible. Short functions, nouns for variable names, pluralized when it is an array, verbs for functions that do things, and so on. Make the code be a comment that lacks a # in front of it.

      I even had somebody say to me that the code was surprisingly readable; they aren't a programmer, and didn't know perl, but could still follow what it was doing.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1046555]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2024-03-29 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found