882 karma · joined May 26, 2014 (12y ago) · 326 submissions
comment 2y ago · link · parent
Similar problems for people who learned angular but not typescript, laravel but not php, etc.
comment 2y ago · link · parent
const foo = async function() {
const user = await fetchUser()
But if they'd just made a Promise.coroutine, you could equivalently do this without needing to change the language: const foo = co(function* () {
const user = yield fetchUser()
There's some unpopular cases like async iterables or async generators, but for the most part we could've done the same thing without extending the language. I remember the v1 of koa that had yield everywhere and people thought it was confusing af. Then they released with await and suddenly it made sense to people.comment 2y ago · link · parent
comment 2y ago · link · parent
LotR had them do a bunch of hero shit, then everyone either went home to hang out at the pub for a while, or took a boat out west.
comment 2y ago · link · parent
comment 2y ago · link · parent
Perhaps we will always find a use for this computing power, as long as governments allow it to be built.
comment 2y ago · link · parent
comment 2y ago · link · parent
Just like the best advice on learning to write code is to write code, the best way to learn how to optimize performance is to optimize performance.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent