Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I am going to approach question from a different angle. "accessed as" wreaks of api, as does 'easier'. I'm going to imagine that efficient means you want to be able to remain efficient in your job as in you don't want to go insane in 6 months- and create something important that only you know how to use...
I smell poop here. I am trying to suggest that.. let your code be all nuts and creepy.. but.. provide an object oriented interface. Then later on you can worry about the innards and not change the interface. Wouldn't it be nicer to interact with ...
You can then rearrange your code, change your hash hierarchy, and it won't change your scripts using it, etc! I've done some crazy hash stuff like this before- and looking back, this is stuff that's a nightmare to maintain interaction with. The interface really should be separated from the innards. This is what OO is for, this is what computers are for, not people, imho. Putting the extra week or two to learn some OO and implement it here- will save you countless hours later. In reply to Re: Data Structures
by leocharre
|
|