Neo Kim Profile picture
Oct 27 4 tweets 2 min read Read on X
Pull Request vs Trunk Based Development vs Stacked Diffs

(explained in 2 mins or less): Image
Stacked diffs split big code changes into smaller diffs.
And each diff builds on the one before it.

This approach:
• Simplifies reviews,
• Allow quick reverts,
• Reduces context switching,
• Maximizes the engineer's productivity. Image
Yet rebasing diffs can be difficult when an earlier diff changes.
So Graphite automates this by:
✓ Rebasing diffs,
✓ Tracking stacks,
✓ Hiding Git complexity.

But code reviews can still take time... Image
That's where the Graphite comes in:

It’s a unified AI reviewer that explains what changed, suggests fixes, and updates your pull requests in real time. Thus making code reviews faster.

Have you tried the stacked diffs workflow? Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Neo Kim

Neo Kim Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @systemdesignone

Oct 24
If you want to pass system design interviews, learn this framework: Image
1 Requirements

✓ Functional and non-functional requirements

✓ Daily active users

✓ Read-to-write ratio

✓ Usage and traffic patterns Image
2 High-Level Design

✓ Data model

✓ API design

✓ Capacity planning

✓ Network protocols Image
Read 8 tweets
Oct 21
10 GitHub repositories that will make you a 10x software engineer: Image
Read 12 tweets
Oct 20
15 heuristics to ace system design interviews: Image
1 Latency + Global → CDN
↳ Deliver data from edge servers to lessen latency

2 Read + Bottleneck → Cache
↳ Store frequently accessed data in cache to reduce database load Image
3 Write + Spike → Queue
↳ Queue writes for background processing during high traffic

4 Distributed + Transaction → Saga
↳ Use compensating actions to handle transactions involving several services Image
Read 11 tweets
Oct 9
If you want to become good at system design (in 30 days or less), learn these case studies:
1 How PayPal Was Able to Support 1 Billion Transactions a Day With Only 8 Virtual Machines

newsletter.systemdesign.one/p/actor-model
Read 17 tweets
Sep 30
I struggled with git until I learned these 19 commands: Image
1 git add
↳ It lets you add changes from the working directory into the staging area.

2 git commit
↳ It lets you save a snapshot of currently staged changes in the local repository, with a message. Image
3 git push
↳ It lets you upload commited changes from the local repository to a remote repository.

4 git fetch
↳ It lets you download changes from a remote repository without applying them locally. Image
Read 13 tweets
Sep 24
If you want to become good at system design (in 1 month or less), learn these case studies:
1 How Amazon S3 Achieves 99.999999999% Durability:

newsletter.systemdesign.one/p/amazon-s3-du…
Read 17 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(