Re:Better Error Handling
by sethammons on Monday April 21, 2025 @10:14AM
(#43752254)
Moving from try:catch to errors as values was so refreshing. Same company, same developers, but suddenly people were actually _thinking_ of their errors. Proper debugging details and structured logging became default.
I assert that try:catch encourages lazy error handling leading to a worse debugging experience and longer mean time to problem discovery.
I assert that try:catch encourages lazy error handling leading to a worse debugging experience and longer mean time to problem discovery.