
The Coder Cafe
@thecodercafe
The Coder Cafe delivers timeless concepts for coders. Written by a Software Engineer @Google and published author—perfect for your coffee!
Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve timeless concepts for coders. Written by a senior software engineer @Google, it's perfectly brewed for your coffee, helping you grow your skills deeply. thecoder.cafe
Consistency Model: Defining Order and Visibility in Distributed Systems thecoder.cafe/p/consistency-…
"Align the happy path to the left; you should quickly be able to scan down one column to see the expected execution flow." Nested Code in The Coder Cafe thecoder.cafe/p/nested-code
New blog post: Probabilistic Increment thecoder.cafe/p/probabilisti…
thecoder.cafe
Probabilistic Increment: A Randomized Algorithm to Mitigate Hot Rows
This problem here is called a hot row, and it occurs when a specific row in the database is modified frequently by multiple concurrent transactions.
Streetlight Effect thecoder.cafe/p/streetlight-…
thecoder.cafe
Streetlight Effect: Don’t Focus on Where Light Is Best
Developers may focus on easily visible issues, such as syntax or styling, but miss more important problems, such as potential edge cases, logic issues, or architectural flaws.
Cognitive Biases thecoder.cafe/p/cognitive-bi…
thecoder.cafe
Cognitive Biases: How Mental Shortcuts Impact Software Engineering
As software engineers, we must be aware of these cognitive biases and recognize that they can lead us to make incorrect decisions; understanding this will help us become more efficient in our work.
If you're doing the Advent of Code this year, please consider joining the private leaderboard of The Coder Cafe (adventofcode.com/2024/leaderboa… => join code: 261108-eeac6b47). The winner will receive a free subscription for one year!
Readable code = intent (what) + logic (how) + rationale (why)
This week, we discussed about: - Readability: thecoder.cafe/p/readability - Complex if statements: thecoder.cafe/p/complex-if-s… - Cohesion: thecoder.cafe/p/cohesion - Coupling: thecoder.cafe/p/coupling And here's the weekly recap: thecoder.cafe/p/30-recap
thecoder.cafe
Coupling: How to Achieve Loose Coupling for Better Maintainability
High cohesion often leads to lower coupling, as components with a single responsibility tend to interact less with others.
This week in The Coder Cafe we discussed: - Reliability: thecoder.cafe/p/reliability - Graceful degradation: thecoder.cafe/p/graceful-deg… - Adaptive LIFO: thecoder.cafe/p/adaptive-lifo - Resiliency vs. fault-tolerance vs. robustness: thecoder.cafe/p/resilient-fa… And as always, here's the weekly…
United States Trends
- 1. Happy Birthday Charlie 25.6K posts
- 2. Good Tuesday 23.7K posts
- 3. #tuesdayvibe 2,507 posts
- 4. #Worlds2025 24K posts
- 5. Bears 92.1K posts
- 6. Pentagon 68.7K posts
- 7. Romans 10.6K posts
- 8. Blinken 25.4K posts
- 9. Snell 25.7K posts
- 10. Jake Moody 14.6K posts
- 11. Jayden 23.8K posts
- 12. Dissidia 4,494 posts
- 13. Trump's Gaza 138K posts
- 14. Martin Sheen 5,658 posts
- 15. Commanders 53.7K posts
- 16. Joji 35.9K posts
- 17. Conquered 29.9K posts
- 18. Swift 292K posts
- 19. Time Magazine 14.5K posts
- 20. #BearDown 2,494 posts
Something went wrong.
Something went wrong.