Re:More Dirty Coding Tricks from Game Developers (2010)
by steveklabnik on Sunday August 02, 2015 @09:07PM
(#9993194)
Small nit: you can know it's the same, unless it's a type which offers interior mutability.
[ Parent
| on HN ]
Re:More Dirty Coding Tricks from Game Developers (2010)
by eropple on Sunday August 02, 2015 @10:43PM
(#9993445)
Which, naturally, you should be avoiding, too, to ensure immutability and thus consistency and predictability across the entire piece of code. =)
(Obviously you know that, Steve, but it's the sort of thing that I find a lot of Java folks mentally don't get.)