/explore
|
You are here |
madole.xyz | ||
| | | | |
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. |
|
| | | | | ||
| | | | |
blog.bloomca.me
The blog of Seva Zaikov |
|
| | | | | ||
| | | | |
rupertmckay.com
async/await vs promises. |
|
| | | | | ||
| | | | |
www.2ality.com
Rich Harris' module bundler Rollup popularized an important feature in the JavaScript world: tree-shaking, excluding unused exports from bundles. Rollup depends on the static structure of ES6 modules (imports and exports can't be changed at runtime) to detect which exports are unused. Tree-shaking for webpack is currently in beta. This blog post explains how it works. The project we are going to examine is on GitHub: tree-shaking-demo |
|
| | | |||