October 2021 Summaries
2 posts from Rollbar
Filter
Month:
Year:
Post Summaries
Back to Blog
In a collection of developer horror stories shared with Rollbar, software engineers recount their unsettling experiences with bugs and production mishaps, highlighting the challenges and unpredictabilities in coding environments. These tales range from mistakenly using the “latest” Docker tag leading to incompatible updates, to production environments behaving differently than development settings, causing perplexing issues. Other stories include accidentally syncing local data with production, a copy-and-paste error leading to unintended production deployments, and the inadvertent addition of dummy data to client dashboards. Developers also shared the struggles of lengthy build processes, integration headaches, and unexpected constraints in critical systems. These anecdotes underscore the importance of effective error tracking and management tools, such as those offered by Rollbar, to alleviate some of the fears and stress associated with debugging and deploying code.
Oct 27, 2021
1,077 words in the original blog post.
In Scala, exception handling is a crucial mechanism to manage unexpected events during program execution, with exceptions categorized as either checked or unchecked; however, Scala supports only unchecked exceptions. To handle exceptions, Scala employs a try/catch block similar to Java, but it utilizes pattern matching in the catch block to identify exceptions. The exception hierarchy in Scala is rooted in the Throwable class, with Exception and Error as two main branches, where Exception is intended for conditions that programs should catch, and Error indicates issues related to the Java runtime environment. The language also allows the creation of custom exceptions by extending the Exception class, enabling developers to define specific conditions and messages. The try/catch construct in Scala can include a finally clause to ensure certain code executes regardless of exceptions, which is useful for resource management like closing database connections. Tools like Rollbar provide automated error monitoring and triaging to enhance error management and confidence in deploying production code.
Oct 21, 2021
632 words in the original blog post.