Logo
Regular expressions: Now you have two problems.
  • 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

Over-commenting Memes

Posts tagged with Over-commenting

Junior Devs Writing Comments

Programming Debugging Testing
6 months ago 321.5K views 0 shares
Junior Devs Writing Comments
The code comment redundancy epidemic has reached street signs! Just like that sign helpfully pointing out "THIS IS A STOP SIGN" under an actual stop sign, junior devs have a special talent for writing comments that state the painfully obvious: // This function adds two numbers function add(a, b) {   return a + b; // Returns the sum } Senior devs scrolling through that code base are experiencing physical pain right now. Remember folks: good comments explain why , not what . Unless you're documenting an API, in which case... carry on with your obvious statements!

Cursed Programming: The Comment Apocalypse

Programming C++ Debugging
1 year ago 384.5K views 1 shares
Cursed Programming: The Comment Apocalypse
Oh look, it's the "my code is basically just a long-winded love letter to the compiler" approach. Every single line drowning in comments that explain the blindingly obvious while adding zero actual value. This is what happens when someone takes "document your code" advice and cranks it to 11. You know who writes code like this? The same person who explains what a fork is while handing it to you at dinner. The real irony? After 7 years in the industry, you'll be begging for any comments in the 10,000-line legacy codebase you've inherited. Just not... whatever this crime against syntax highlighting is.

Today's picks

Royjhnl Standing Desk Converter 32 Inch, Height Adjustable Sit-Stand Workstation, Dual Monitor Riser with Wide Keyboard Tray - Office & Home Use, Black (Black)

Royjhnl Standing Desk Converter 32 Inch, Height Adjustable Sit-Stand Workstation, Dual Monitor Riser with Wide Keyboard Tray - Office & Home Use, Black (Black)

Affiliate
$49.99
5 years of experience

5 years of experience

Python
51.7K views 2 years ago
After sending an email to all developers asking "Spaces or tabs?"...

After sending an email to all developers asking "Spaces or tabs?"...

Programming
66.7K views 4 years ago