Logo
Why do Java developers wear glasses? Because they don't C#!
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • 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

Function length Memes

Posts tagged with Function length

Slight Adjustments

Programming Debugging Testing
11 months ago 151.9K views 0 shares
Slight Adjustments
The classic "solve one problem by creating three more" approach! Instead of actually refactoring that monstrosity of a function, just chop it into three equally cryptic helpers and call it a day. The code reviewer's sunglasses aren't dark enough to hide their disappointment, but hey—technically you followed the "functions should be shorter" rule. It's not spaghetti code anymore; it's spaghetti with meatballs. Bonus points if helper2() just calls helper1() and helper3() with zero actual logic changes.

Today's picks

I'm My Family's Unpaid Tech Support Funny Technical Support T-Shirt

I'm My Family's Unpaid Tech Support Funny Technical Support T-Shirt

Affiliate
$18.99
Pointers 😱😱

Pointers 😱😱

Programming
61.0K views 3 years ago
well explained

well explained

Programming
60.8K views 4 years ago