In tech, most of the new features we pray are usually just a slightly different version of an old technology that people forgot about for a while and some smart guy revamped giving it a second youth.

This is what happened with asynchronous programming when JS and Python provided native support for it introducing two new keywords await and async, providing a better way to write asynchronous code that needs to wait for a promise, or future, to complete before executing the rest of the code. …


TL;DR: use I-JSON instead of “pure” JSON when designing a new API.

JSON is nowadays ubiquitous, and it’s impossible to find any programming language that doesn’t provide support for it. All modern APIs replaced the (in)famous XML with less cumbersome and more human-friendly JSON payloads, and even if it’s not the most performant or space-efficient data format we all agreed it’s de-facto format for web APIs.

JSON is the acronym of JavaScript Object Notation and, and as its name suggests, it was derived from JavaScript and its original spec can be found at json.org. More than a decade after its creation we have two main specifications: RFC 8259 and ECMA-404. …

figaro

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store