Tweet from Mon Aug 02 21:17:10 +0000 2010
- One minute read - 17 wordsOnce, on Twitter I wrote:
Java Collections and generics has some funny syntax: cards.toArray(new Card[0]); Ruby would be cleaner with cards.toArray(this.class), no?
Once, on Twitter I wrote:
Java Collections and generics has some funny syntax: cards.toArray(new Card[0]); Ruby would be cleaner with cards.toArray(this.class), no?