Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://394010]
[stevieb]: my RPi::WiringPi now fully supports: GPIO, LCDs, digital potentiometers, analog to digital converters, shift registers, barometric pressure sensor, direct access to SPI bus, and ability for more :)
[stevieb]: ...just need to perform many tests and POD review this week, then I'm going to put together some real projects and post about them

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-01-22 22:50 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (190 votes). Check out past polls.