Top 10 Node.js Debugging Tips to Debug Like a Pro

Lou Bichard Developer Tips, Tricks & Resources

  Err—not quite. Whilst this tweet is painfully relatable, it also saddens me. This goes to show there are so many Node.js developers out there who are debugging their applications the caveman way. But debugging Node.js needn’t be this hard. The more you relate to this tweet, the more you must read on. Your sanity begs you. Today we’re going beyond …

Types of Exceptions in Java

Sagar Arora Developer Tips, Tricks & Resources

 Java is an object-oriented programming language. It provides support for various mechanisms such as exception handling. This feature of Java enables developers to manage the runtime errors caused by the exceptions. In this article, you will learn about exceptions in Java. You will also learn about different types of exceptions in Java. Exceptions are the unwanted errors or bugs or …

Top 10 Java Debugging Tips

Sagar Arora Developer Tips, Tricks & Resources

One of the biggest nightmares for all developers is to debug their code. Debugging code written in Java is a tough task. Debugging is the process of determining and fixing bugs or errors present in the code, project, or application. Debugging your application helps you improve the quality of the code. It is a must-have skill for every Java programmer. …

PHP Try Catch: Basics & Advanced PHP Exception Handling Tutorial

Agbayani Molde Developer Tips, Tricks & Resources

When PHP version 5 was released, it incorporated a built-in model to catch errors and exceptions. Handling errors in PHP with try catch blocks is almost the same as handling errors in other programming languages. When a PHP exception is thrown, the PHP runtime looks for a catch statement that can handle that type of exception. It will continue checking …

PHP Error Handling Guide

PHP Error Handling Guide

Juliet Mendez Developer Tips, Tricks & Resources

Because PHP is free to use, many web developers use this programming language to make web applications. Even the most popular web content management systems are based on this programming language. Handling errors in PHP is almost the same as handling errors in other programming languages. But if a developer is new to the language, seeing the errors for the …

Get tips to solve null reference exception

What is NullReferenceException? Object reference not set to an instance of an object

Matt Watson Developer Tips, Tricks & Resources

Null reference errors are responsible for a good percentage of all application bugs. They are usually very simple problems caused by not adding additional logic to ensure that objects have valid values before using them.  Here are some ways to avoid NullReferenceException. The following code will throw a NullReferenceException if the variable “text” being passed in is null. You can’t call …