Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Syntactic Confectionery Delight
 
PerlMonks  

Re: Moose and static arrays

by JavaFan (Canon)
on Jan 21, 2011 at 13:42 UTC ( #883531=note: print w/ replies, xml ) Need Help??


in reply to Moose and static arrays

Where would you stop? What would you make an object? %King_Moves? Or should the list of possible moves also be objects? But even then, you can make the fields themselves objects as well. And fields are really intersections of rows and columns, so you could make row objects, column objects and intersection objects.

I would just leave it as is. Static data is just that, static data.


Comment on Re: Moose and static arrays
Re^2: Moose and static arrays
by hsmyers (Canon) on Jan 21, 2011 at 17:20 UTC
    Good point(s)! A solid case of nothing to be gained— leading to a strong 'if it is not broken then don't fix it' conclusion.

    --hsm

    "Never try to teach a pig to sing...it wastes your time and it annoys the pig."

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-04-21 13:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls