Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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.

Replies are listed 'Best First'.
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?
[marinersk]: Unfortunate pairing of words: Razing and Raising. You can do both to a town or building and they mean pretty much the exact opposite of each other.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-05-29 16:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?