5 ms·
I think checking for errors every line makes my go programs easier and faster to produce at a higher level of quality.
by philosopher1234 4y ago
I think checking for errors every line makes my go programs easier and faster to produce at a higher level of quality.
- valand 4y agoSome languages achieve error checking by type transforms and pattern matching, which are much more effective and efficient than error checks after every function call
- chrisoverzero 4y agoSure, but is writing the error check by hand what creates the benefit? Or is it having the error check?
- lanstin 4y agoIt is thinking about what to do for each operation that can fail. This thought is what separates the applications that recover when the network glitch is over vs. the applications that need to be restarted.