2 ms·
Its a lesson everyone needs to learn at some point: Save code should always be explicit. Yes its annoying, and yes you have to manually update it. But unlike
by slededit 8y ago
Its a lesson everyone needs to learn at some point: Save code should always be explicit. Yes its annoying, and yes you have to manually update it. But unlike all of your other data structures - durable data doesn't just get blown away on a reboot. Serializing classes is the modern equivalent of just memcpying your data structures to a file.
Saving to a database is no different than saving to a file. Its just a different storage engine.