Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2016-09-30 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (574 votes). Check out past polls.