Muy graciosas las respuestas que se han publicado en Quora a la pregunta Why is VSCode nearly 300 megabytes while Sublime Text is just 16 megabytes?:
Visual Studio Code is a web browser with a code editor glued onto the side using expired epoxy.
Using bloated web based frameworks to implement a desktop application does not make much sense, but .. anyway…
Some languages have built-in affordances for those circumstances. In some statically typed languages, you can say that null and undefined are illegal values, and let your programming language throw a TypeError at compile time, but even in those languages, that can’t prevent null inputs from flowing into the program at runtime.
To get a better handle on this problem, we need to understand where these values can come from. Here are some of the most common sources:
Functions which could return nothing
I know you’re here to learn about manipulating colors — and we’ll get there. But before we do, we need a baseline understanding of how CSS notates colors. CSS uses two different color models: RGB and HSL.
Both the RGB and HSL color models break down a color into various attributes. To convert between the syntaxes, we first need to calculate these attributes.
With the exception of hue, each value we have discussed can be represented as a percentage. Even the RGB values are byte-sized representations of percentages. In the formulas and functions below, these percentages will be represented by decimals between 0 and 1.
Lenguaje malo y con programadores ignorantes, según podemos leer en Quora en la siguiente respuesta a la pregunta Which commonly used programming language has the most ignorant programmers on average?:
- The Date object.
- Initialize the Date object.
- Date conversions and formatting.
- The Date object getter methods.
- Editing a date.
- Get the current timpestamp.
- Format dates according to the locale.
- Compare two dates.