/explore
|
You are here |
emptysqua.re | ||
| | | | |
andreabergia.com
Error handling is a fundamental aspect of programming. Unless you are writing hello world, you will need to handle errors in your code. In this post, I will discuss a bit the most common approaches used by various programming languages. Return error codes This is one of the most ancient strategies - if a function can fail, it can simply return an error code - often a negative number, or null. |
|
| | | | | ||
| | | | |
aphyr.com
|
|
| | | | | ||
| | | | |
elvanydev.com
Handling errors properly have always been an important and delicate task when it comes to making our applications more reliable. It is true that we can't know when an exception will happen, but it is true that we can control how our applications should behave under an undesirable state, such as a handled or unhandled exception scenario. When I say that we can control the behavior when the application fails, I'm not only referring to logging the error; I mean, that's important, but it's not enough! Nowadays with the power of cloud computing and all of its advantages, we can build robust, high availability and scalable solutions, but cloud infrastructure brings with its own challenges as well, such as transient errors. It is true that transient faults can occu... |
|
| | | | | ||
| | | | |
keithbabinec.com
The OAuth 2.0 implicit grant flow is great way to handle authentication between a client JavaScript single page web app (SPA) and a web API. For example: a React or Angular web app that needs to authenticate users and then have those users call an authorized ASP.NET Core Web API. Azure AD and the Microsoft... |
|
| | | |||