/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

lucasfcosta.com
| | www.valentinog.com
4.3 parsecs away

Travel
| | It is possible to throw errors from async functions in JavaScript? Keep reading to find out!
| | andreabergia.com
3.3 parsecs away

Travel
| | 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.
| | www.tapper-ware.net
3.6 parsecs away

Travel
| | [AI summary] An educational guide explaining the fundamental concepts of object-oriented programming in JavaScript, covering prototypes, constructors, inheritance, and dynamic typing differences from traditional class-based languages.
| | ciesie.com
21.6 parsecs away

Travel
| Today I've played around with Zig, the new, hip (is it hip?) programming language. I find it pretty neat. I'm going to walk you (and myself) through my first, very short, piece of code. Below you can see the entirety of it. It basically allocates a 2MB buffer and reads a file into it... Yep, not particularly impressive, but this is a judgment free, learning zone, ok?! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 const std = @import("std"); const warn = @import("std").