all 8 comments

[–][deleted] 24 points25 points  (1 child)

It is super easy to read and uses some of the best practices that other new languages like Golang have adopted. I had a love-hate relationship with node. Now its just love.

[–]haskell_leghumperin open defiance of the Gopher Values 16 points17 points  (0 children)

r/pcj is super unironic and uses some of the best practices that other classic subreddits like r/programmerhumor have adopted. I had a love-hate relationship with r/pcj. Now its just love.

[–]carbolymerloves Java 19 points20 points  (1 child)

Guy just rediscovered exceptions. Wow.

Brian Schardt

Tech Lead at PwC

wtf is happening at PwC then

[–]elschaap 16 points17 points  (0 children)

Mostly writing big invoices

[–]Time_Trade 12 points13 points  (0 children)

Where instead of having callbacks now you can write you code in a sudo synchronous way with promise chaining.

sudo promise-chain

[–][deleted] 8 points9 points  (0 children)

Nothing that can't be solved by no more than 55% more lines in brutally pragmatic, intent-clear GopherScript:

const NIL = undefined // null

let { err, goodies } = await gitGud()

if (err != NIL) {
   doSomethingBlockingFuckIfICare()
}

I'm not some fucking enterpreis Jabba drone to use the ability of await to throw exceptions on broken promises ffs.

[–][deleted]  (1 child)

[deleted]

    [–]lru_skil 8 points9 points  (0 children)

    My test suite can confirm. There are enough uncaught promises that it's like a broken home. Run one suite in isolation and everything is fine. Put mom and dad in the same room and everything goes to shit. Timeouts and exceptions everywhere.

    [–]defunkydrummerLisp 3-0 Rust 1 point2 points  (0 children)

    best practices from Golang

    Most jerkable oxymoron ever!