Logo
The best code is no code at all.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Expect Memes

Posts tagged with Expect

Slapping On A .Expect Is Also Error Handling!

Rust Programming Debugging Testing
1 year ago 387.3K views 0 shares
Slapping On A .Expect Is Also Error Handling!
The eternal cycle of Rust developers. First panel: "OH NO!" - when they realize their code might panic. Second panel: "ANYWAY" - as they slap on a .expect("This will never happen") and continue coding like nothing happened. It's basically the programming equivalent of putting duct tape over a check engine light. Sure, your code compiles, but that error is just waiting to blow up in production.

Today's picks

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Programming
291.2M views 9 days ago
From Passion To Violence: The Programmer's Journey

From Passion To Violence: The Programmer's Journey

Debugging
260.4K views 1 year ago
Gaoye Round Blue Light Blocking Glasses

Gaoye Round Blue Light Blocking Glasses

Affiliate
$13.49