madawan
Joined 12 years ago
Joined 12 years ago
Suppose I'm storing Tiles in a Level: the Level struct will contain a (private) RedBlackTree and I'll define GetTile(Pos) Tile and PutTile(Pos, Tile) on Level which do the casting to and from interface{}.
I still have type safety since I cannot put/get anything but Tiles in the RedBlackTree. But I didn't need generics.
so what about CVS, svn, Mercurial and fossil? Git is hip right now, but including it in an initrd seems excessive. Furthermore git downloads the entire repo, all the history/commits, this isn't always what you want or can handle or want to pay for.
There's no irony.
> Subject to your compliance with these terms, you may use the Facebook Design Resources solely for creating mock-ups, including displaying such mock-ups in digital or print format. The Facebook Design Resources may not be embedded in any software programs or other products without express written permission. Facebook reserves all rights not expressly granted to you in this license agreement.
It doesn't look like this is allowed.