Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: A question of style: Composite keys to multiple values

by Voronich (Hermit)
on Aug 06, 2012 at 20:15 UTC ( #985827=note: print w/replies, xml ) Need Help??


in reply to Re: A question of style: Composite keys to multiple values
in thread A question of style: Composite keys to multiple values

Yeah ok. I'll buy most of that. I'm going to merge the values into a list, since there isn't really any need for multiple hashes like that, and the values need to resolve at the same point in the code. (It's not like there's any semantic difference in the usage at all.)

The problem about elegance (or, more importantly: simplicity) is that this is the beginning of a code base that's going to be expanding rather a lot. I can see the additional exception logic and strange additional conditions coming in to pollute this, so I'm trying to nip it in the bud.

But then I'm almost certainly playing "Premature Optimization" games.

Thanks o/
  • Comment on Re^2: A question of style: Composite keys to multiple values

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985827]
help
Chatterbox?
erix tu-tuu-tududu
Discipulus english has serious problems that reflect on programming terms..
[Discipulus]: ++erix
[Lady_Aleena]: Hello.
[Discipulus]: why github use 'pull request' instead of 'push request'? where is the subject?
[Discipulus]: I'm the subject or is the program? i think i always am the subject
[erix]: it an invite to pull, as I understand it

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2017-05-27 20:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?