1
vote
1answer
92 views

Reference wind directions to texture space?

I have a 2D array filled with a simple class: class Tile { boolean N,E,S,W; } I also have a tilesheet representing all possible outcomes except all false (12 + crossroad). Now i need to ...
17
votes
3answers
1k views

How to choose between Tell don't Ask and Command Query Separation?

The principle Tell Don't Ask says: you should endeavor to tell objects what you want them to do; do not ask them questions about their state, make a decision, and then tell them what to do. ...
11
votes
4answers
2k views

Why Groovy(Java)?

I am looking on a new language to pick up and found out about Groovy. According to the website, the language is 'agile dynamic' language. How is it Agile? How shorter are the syntax compared to ...
4
votes
6answers
2k views

Write once, run anywhere. Is it still relevant?

Since Oracle bought Sun and Apple have decided not to continue developing their JVM, is the "write once and run everywhere" model still relevant or has web services/SOA reduced it to an edge case?