News for hackers. Stuff that matters.
Re:How many lines of code is Candy Japan? by sushisource on Friday September 30, 2016 @12:13PM (#12613326)
Been using Scala a lot at work lately and I've definitely helped myself out with using types to good effect, but I still feel like I could be doing better... the one lesson I've definitely learned is if you're going to be serializing things pick a library that makes upgrading those serializations easy or you'll live in fear of changing types.
Re:How many lines of code is Candy Japan? by lmm on Saturday October 01, 2016 @03:34AM (#12616919)
Yeah, I'd recommend Thrift or Protocol Buffers for serialization. Having distinct serialized objects feels like overhead to start with, but it's well worth it if you ever want to change the code without risking incompatibilities.