Logo
May your code be bug-free and your deploys be boring.
  • 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

Redundant documentation Memes

Posts tagged with Redundant documentation

I Mean, The Comment Is Accurate I Suppose

Golang Programming Backend
2 months ago 1.7M views 0 shares
I Mean, The Comment Is Accurate I Suppose
You know your codebase has reached peak quality when the comment literally just describes what the function name already screams at you. "returnRowErrorOnTxFailure returns the error" - yeah, and water is wet, thanks for that groundbreaking insight. The best part? Someone took the time to write a multi-line comment explaining that this function returns an error so processing doesn't continue. Then proceeded to write a function that... checks if error is nil, returns nil, otherwise returns the error. Revolutionary stuff right here. Could've been a one-liner but where's the fun in that? This is what happens when your team enforces comment coverage metrics without checking if the comments actually add value. Next up: "// this variable stores a value" above every variable declaration.

Today's picks

The Glorious Days Of Past When You Got Roasted For Shitty Code

The Glorious Days Of Past When You Got Roasted For Shitty Code

Programming
129.8M views 2 days ago
There is a bug factory somewhere

There is a bug factory somewhere

Programming
119.6K views 4 years ago
LG 27UP650K-W 27-inch Ultrafine 4K UHD (3840 x 2160) IPS Computer Monitor, 60Hz, 5ms, DisplayHDR 400, Reader Mode, Flicker Safe, HDMI, DisplayPort, Tilt/Height/Pivot Adjustable Stand, White

LG 27UP650K-W 27-inch Ultrafine 4K UHD (3840 x 2160) IPS Computer Monitor, 60Hz, 5ms, DisplayHDR 400, Reader Mode, Flicker Safe, HDMI, DisplayPort, Tilt/Height/Pivot Adjustable Stand, White

Affiliate
$279.99