Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^5: Programming *is* much more than "just writing code".

by demerphq (Chancellor)
on May 09, 2007 at 12:30 UTC ( #614372=note: print w/replies, xml ) Need Help??

in reply to Re^4: Programming *is* much more than "just writing code".
in thread Programming *is* much more than "just writing code".

I think one should be careful about such rules, while they are useful as rules of thumb I think that truth is that the complexity of code is directly related to the complexity of the domain it is operating within. Where the domain is "messy" the code will be as well.

Simply because a routine has many parameters does not mean it necessarily poorly written or poorly factored. On the contrary it may mean that the code has been well factored and the core routine needs to provide special behaviour in many different scenarios. I guess a clue that it may be such a case is if you find that the routine with 20 arguments is normally accessed only via wrappers which take only a few parameters.


  • Comment on Re^5: Programming *is* much more than "just writing code".

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2021-04-21 15:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found