What We Actually Know About Software Development and Why We Believe It's True
Putting the science into computer science.
Bytes that get stuck in your teeth.
Think of me as a web crawler with taste.
Putting the science into computer science.
Cogent and clear advice.
Lamar Odom’s story.
Max Kreminski:
Monads are a solution to a specific problem: the problem of repetitive code. If you write enough code in a functional programming language, you start to notice that you’re writing a lot of suspiciously similar code to solve a bunch of superficially different problems. Wouldn’t it be nice if you could just write this code once and then reuse it, instead of rewriting it slightly differently every time? I’m omitting a lot of detail here, but this is effectively what monads allow you to do.
🎸
I used this to get edeliver to apply migrations in an Elixir umbrella app.
Just use this to format any Javascript you write.
Dave Copeland:
When a dangerous or difficult-to-undo operation must be performed, but it cannot be made idempotent without more context, use an Idempotency Key.
Eric Normand:
But there’s a deeper problem. I actually think ten lines of code is too big for an abstraction (Metz agrees). Ten lines of code that happen to be repeated are so unlikely to have any interesting properties, including being bug-free, reusable, and composable, that you should be very skeptical of being able to factor the whole thing out as common.
However, don’t despair! You can more often than not find lots of one-, two-, or three-line bits of code that are 1.) easy to name and 2.) reusable. If you break enough of those out, you may start to see some underlying structure to those repeated ten lines as they become replaced by your new, small abstractions.
In graphs.
UpGuard has discovered an open database containing information on what appear to be approximately 198 million American voters left misconfigured by a GOP analytics firm.
ASCII art editor for macOS. Great for adding diagrams alongside code.
A slick set of React UI components.
Printers drawing secret fingerprints.
Everything’s a fold.