Post #2590796
2025-01-27 17:58 UTC
Some random stats!
In the end, on the desktop, the article is 42060px high (65460 after expanding the details with the full commented code of the mixin), has 38 headers, and 24 sidenotes.
The mixin's code is 862 lines, 19567 bytes, including 63 comments. 8378 bytes minified without comments. 2kb–2.2kb when minified with brotli/gzip/deflate. Not that it matters, as you shouldn't use it in production :D
I started working on both right after publishing my previous article, so on December 25.
Replies (1)
-
@kizu@front-end.social 2025-01-28 10:45
Forgot to include in the stats that I encountered at least 5 bugs when implementing the mixing from the article — filled four (though one was a duplicate of another), and posted my test case into another pre-existing report. And there might've been bugs that I already knew about, so I just worked around them (like with all the `tan(atan2())` stuff). Ah, and also at least one bug that was only in an older version of a Chrome, but fixed in Canary, so did not report it.