Logo
HAI WORLD! (That's LOLCODE for Hello)
  • 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
3 months ago 1.8M 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

Where's The Love

Where's The Love

Programming
149.4M views 4 days ago
CaseBuy MacBook Pro Accessories, 14 Pack Dust Plug Covers for 2025-2021 MacBook Pro 14/16 inch M4 M3 M2 M1 Pro/Max, Plug Plug for HDMI, Thunderbolt, SDXC, Magsafe, Headphone & 2PCS Webcam Cover

CaseBuy MacBook Pro Accessories, 14 Pack Dust Plug Covers for 2025-2021 MacBook Pro 14/16 inch M4 M3 M2 M1 Pro/Max, Plug Plug for HDMI, Thunderbolt, SDXC, Magsafe, Headphone & 2PCS Webcam Cover

Affiliate
$7.59
Is it too late to change profession?

Is it too late to change profession?

Javascript
187.6K views 4 years ago