Writing a ton of network code right now and it's all highly error-tolerant. What's surprising to me is how many asserts can now safely be turned into non-crashy asserts. There are event logs everywhere and I'm beginning to like this tolerance level.
-
-
I have a function for encrypting that requires a fixed-size key of bytes. This will never change in the code and if it does, it's a call-site error. I was normally asserting but that path is pretty brutal. Now I just return an errStatus object (Google style) and it's handled.
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.