Logo
It's not a bug, it's an undocumented feature.
  • 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

Wrapper functions Memes

Posts tagged with Wrapper functions

Shorten Your Function Name

Programming Java Javascript Debugging Python
1 year ago 515.4K 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.

Today's picks

SSK M.2 NVME SATA SSD Enclosure, Improved RTL9210B Chip USB 3.2 Gen 2 10Gbps to PCI-E NGFF Adapter, M-Key/B+M Key External SSD Enclosure Aluminum Support UASP Trim 2242/2260/2280

SSK M.2 NVME SATA SSD Enclosure, Improved RTL9210B Chip USB 3.2 Gen 2 10Gbps to PCI-E NGFF Adapter, M-Key/B+M Key External SSD Enclosure Aluminum Support UASP Trim 2242/2260/2280

Affiliate
$15.00
AI Ethics

AI Ethics

Programming
140.8K views 3 years ago
We've been exposed

We've been exposed

Programming
83.9K views 4 years ago