Better HN
topnewbestaskshowjobs
Log inSign up

ggpp

3 karma · joined Feb 19, 2021 (5y ago) · 9 submissions

Submissions

comment 5y ago · link · parent

Discussion from 2 weeks ago: https://news.ycombinator.com/item?id=27659105

comment 5y ago · link · parent

The iPhone 12 starts at $729. You get a $30 rebate if you sign up for a new phone plan.

comment 5y ago · link · parent

Ohhh, I thought it was a riff on "I don't always test my code, but when I do, I do it in production."

comment 5y ago · link · parent

YES! TDD has saved me from this, listen to our friend fung. I put off learning about it for so long out of laziness but the payoff is huge.

comment 5y ago · link · parent

no it's webpack HMR

(I know you're joking)

comment 5y ago · link · parent

> I believe many devs are afraid someone could see all their trial and error attempts and judge them

This is certainly part of the reason I do it. Sometimes I'll start repos anew, without the "mistake" commits and branches, and add that version to my Github before I send the link to a potential employer.

comment 5y ago · link · parent

I write a lot of frontend JS with hot reloading

make change => see result => cmd-z 1 time to fix result OR commit and keep coding

oops, it wasn't really fixed. cmd-z 3 times and see if that works

I know it's wrong, but what's right?

comment 5y ago · link · parent

What's the alternative? What should I be doing instead of cmd-z?

> I'll Ctrl-A and Ctrl-V this into a new tab before it gets too messy

I did this about 400 times today

comment 5y ago · link · parent

You should at least pay your intern a livable wage, $15/hr