Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Basic Coding Tips: Parsimonious Parameterization

by Anonymous Monk
on Feb 09, 2005 at 03:13 UTC ( #429290=note: print w/replies, xml ) Need Help??


in reply to Re: Basic Coding Tips: Parsimonious Parameterization
in thread Basic Coding Tips: Parsimonious Parameterization

I'm not sure anybody will read this, since I'm a bit late. However, the term 'superfluous' status flags is a little bit indescriptive. For instance, I find the status flags in Apache::Session to not be superfluous, but then again I'm sure they could be replaced... how do you define superfluous in this case? Are they status flags that lead to mistakes in code logic? Aren't all mistakes in code logic a problem? What 'superfluous status' flags simply aren't mistakes in code logic rather than "Parsimonious Parameterization."
  • Comment on Re^2: Basic Coding Tips: Parsimonious Parameterization

Replies are listed 'Best First'.
Re^3: Basic Coding Tips: Parsimonious Parameterization
by Aristotle (Chancellor) on Feb 19, 2005 at 01:52 UTC

    Superfluous status flags are those which can readily be inferred from the rest of an object's state. They denormalize the data structure (in relational database terms) and the additional code required to update them in sync with the actual data violates the Once And Only Once principle.

    Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://429290]
help
Chatterbox?
[Corion]: Heh - a good talk on Youtube about why you want to keep your Genome as secret as possible (and not use it for vanity stuff like 23andme , or some ancestry stuff)

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-01-19 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (222 votes). Check out past polls.

    Notices?