News for hackers. Stuff that matters.
Re:Why is it so hard to see code from 5 minutes ago? by comeonseriously on Thursday February 18, 2021 @10:11PM (#26189162)
I'm so confused as to why anyone would do this.
Re:Why is it so hard to see code from 5 minutes ago? by ggpp on Thursday February 18, 2021 @10:14PM (#26189186)
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?

Re:Why is it so hard to see code from 5 minutes ago? by strictnein on Thursday February 18, 2021 @10:47PM (#26189428)
> I know it's wrong, but what's right?

Nah, it's not wrong. You're testing your code changes live.

Re:Why is it so hard to see code from 5 minutes ago? by ggpp on Friday February 19, 2021 @10:30AM (#26194166)
no it's webpack HMR

(I know you're joking)

Re:Why is it so hard to see code from 5 minutes ago? by strictnein on Friday February 19, 2021 @11:58AM (#26195108)
Hmm... I actually wasn't. By "live" I mean in the developer's own browser.
Re:Why is it so hard to see code from 5 minutes ago? by ggpp on Friday February 19, 2021 @04:12PM (#26198089)
Ohhh, I thought it was a riff on "I don't always test my code, but when I do, I do it in production."