Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Perl Code Quality

by pdcawley (Hermit)
on Sep 26, 2004 at 21:25 UTC ( #394010=note: print w/replies, xml ) Need Help??


in reply to Perl Code Quality

How does it read? Pick a module, remove all its commentary. Read the code, possibly aloud. Can you follow it? Do the method names make sense? Is the layout consistent? Good code expresses the programmer's intent in clear, readable code that doesn't depend on comments. Comments, where they exist should only have to explain the why of the code. The code itself should tell you how.

Is there a fully automated test suite? The lack of one doesn't necessarily mean the system is crap, but it's not a good sign.

Try and implement a new feature (or ask another programmer to do so). How hard was it? Can it be done? Can it be tested?

Will the software engineering company stand behind their code? Will they give you a warranty (unlikely) it (or offer a reasonably priced support contract).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://394010]
help
Chatterbox?
[jdporter]: so that I can use the existing expand unix util. Otherwise, I'll probably use Text::Tabs.
[1nickt]: pryrt I guess I don;t really care if user 42 logs on as 42.0 ... more of an academic question at this point.
[LanX]: jdporter: open PIPE,'-|' ?
[LanX]: oh you want the result line by line?
[jdporter]: ok, LanX, then what?
[jdporter]: It doesn't have to be line by line. Just "my program" "writes" to the external prog and also/then "reads" from it.
LanX open (You are not allowed to open to a command that pipes both in and out, but see IPC::Open2, IPC::Open3, and Bidirectional Communication with Another Process in perlipc for alternatives.)
[jdporter]: IPC::Open2, I guess
[jdporter]: yes, that

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2017-05-24 20:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?