and these are the same people who argue semantic versioning is “important” and “meaningful”
what bothers me the second most about leftpad is that packages released “stable” versions while having a dependency on something versioned 0.0.3
here is how i would write that
function leftpad (str, len, ch) {
if ( str.length < len ) {
var fillChar = !ch ? " " : String(ch)[0];
return Array(len - str.length).fill(fillChar).join("") + str;
} else {
return str;
}
}
this is the code for leftpad
function leftpad (str, len, ch) {
str = String(str);
var i = -1;
if (!ch && ch !== 0) ch = ' ';
len = len - str.length;
while (++i < len) {
str = ch + str;
}
return str;
}
@aescling entity references
even at the age of like 6 i knew what a bubbly sans‐serif font meant and that it was bad news
@witchfynder_finder neither am i
like i used to listen to the christopher nolan batman movie soundtracks but then the mad max soundtrack came out and it’s like those but what if they were good
@aescling i haven’t
and musicals unfortunately i find mostly unimpressive from a musical perspective; it is rare to find one which is compositionally interesting in addition to having good lyrics
maybe i just don’t watch enough musicals though
you may say: but kibi, the purpose of a movie soundtrack is simply to frame the action on screen, and having too much soundtrack depth or interest would be distracting
to which i would reply: clearly you have not seen lord of the rings
Administrator / Public Relations for GlitchCat. Not actually glitchy, nor a cat. I wrote the rules for this instance.
“Constitutionally incapable of not going hard” — @aescling
“Fedi Cassandra” – @Satsuma
I HAVE EXPERIENCE IN THINGS. YOU CAN JUST @ ME.
I work for a library but I post about Zelda fanfiction.
For the time being, this is mostly a mirror of <https://status.ladys.computer/>. Want to get in touch? E·mail me!