Logo
How many programmers does it take to change a light bulb? None, that's a hardware problem.
  • 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

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

Wrapper functions Memes

Posts tagged with Wrapper functions

Shorten Your Function Name

Programming Java Javascript Debugging Python
1 day ago 100.8K views 0 shares
Shorten Your Function Name
The classic programmer journey from self-righteousness to self-sabotage in three easy steps: First, you write a verbose, descriptive function name that perfectly documents what it does. You feel virtuous. Clean code! Self-documenting! Then, you realize typing that monstrosity repeatedly is killing your productivity. So you create a wrapper function with a shorter name. Problem solved! Finally, you're faced with your creation in production code: if (cumming()) - and suddenly you remember why code reviews exist. Your future maintainers will either die laughing or hunt you down with pitchforks. And this, friends, is why naming things remains one of the two hardest problems in computer science.

Spotlight

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

AG Neovo EM2451 24 Inch 4K Monitor, 3840 x 2160...

AG Neovo EM2451 24 Inch 4K Monitor, 3840 x 2160...
Ad We preserve our collection of legacy code that nobody dares to touch with your support. 👻