programming style poll
Suppose you have a function called pipe:
const addTwoAndSquare = pipe(
x => x + 2,
x => x * x);
console.log(addTwoAndSquare(1)); // 9
What is your preferred implementation?
const pipe = (...fns) =>
x => fns.reduce((z, fn) => fn(z), x);
VS
const pipe = (...fns) => {
return (x) => {
let z = x;
for (let i = 0; i < fns.length; ++i)
z = fn(z);
});
return z;
};
};
Do you want to generate your own beautiful stardew math plots? Well, now you can, with https://stardewmath.clodsire.social !
The web site probably doesn't even have any bugs! We'll see!
@wallhackio i'm always thinking this
this obscure, boring youtube short showing costco peanut oil with Halsey's Without Me playing in the background is hilarious to me for reasons I cannot explain
the clodvestigator
i answer to Caleb, Clodsire, Clodboy, Clod, and Bumby. very leftist.
videogame enjoyer. mathematics hobbyist and recovering physicist. recovering software engineer. professional wonk. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
number of fat cock awards received: 56
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
30+
he/him
sgraMrt