Navigate Select ESC Close

A New Git Diff Algo

2024-09-08 Science & Technology
122.3k
2.6k
427
ThePrimeTime
ThePrimeTime
1.1m subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Recorded live on twitch, GET IN ### Article https://stackoverflow.blog/2024/08/05/this-developer-tool-is-40-years-old-can-it-be-improved/ By: Bill Harding | https://twitter.com/williambharding ### My Stream https://twitch.tv/ThePrimeagen ### Best Way To Support Me Become a backend engineer. Its my favorite site https://boot.dev/?promo=PRIMEYT This is also the best way to support me is to support yourself becoming a better backend engineer. MY MAIN YT CHANNEL: Has well edited engineering videos https://youtube.com/ThePrimeagen Discord https://discord.gg/ThePrimeagen Have something for me to read or react to?: https://www.reddit.com/r/ThePrimeagen Kinesis Advantage 360: https://bit.ly/Prime-Kinesis Get production ready SQLite with Turso: https://turso.tech/deeznuts

Top Comments (10)

@UnknownUser-mj8rg 2024-09-08

THE 2012 VI DATE IS FROM THE LEAGUE OF LEGENDS CHARACTER

1.3k 42 replies
@illesizs 2024-09-08

*Diff tool:* Don't worry about this line, only the whitespaces changed here... *Python:* The what?! 😡

513 18 replies
@JorgetePanete 2024-09-08

10/10 journalism, would release vi in 2012 again.

348 2 replies
@auscompgeek 2024-09-08

The fact the entire article doesn't mention the 4 different diff algorithms in git diff, the ignore whitespace options, and the colour moved option boggles my mind.

260 8 replies
@esquilo_atomico 2024-09-08

looool the guy that said that 2012 vi date is from the lol character is absolutely correct !!! these guys trust ai too much

181 2 replies
@DataScienceDIY 2024-09-08

Should have started with: This is an ad for GitClear

96 3 replies
@jose6183 2024-09-08

I'm older than Vi now. What a time to be alive

79 1 replies
@defenestrated23 2024-09-08

The advantage of the old Meyers diff is it flags every part of the code that gets touched, so it gives the reviewer more context. In most code, the state is contextual. I've had diffs which were a single character and I basically had to re-read the whole file to mentally model the side effects. Otoh, MOST diffs are pretty straightforword and the new fancy diff algos are much nicer to look at. Just let the developer choose and switch between em.

36 1 replies
@Kane0123 2024-09-09

7:48 surprised the article doesn’t talk about the origins of Ruby from 2500bc when it was likely first discovered.

17
@rpggio 2024-09-08

Ternary rage, ASMR, research quality control, all in the time it takes to review one PR 👏

13

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot