Logo
IPv6: Enough addresses for every atom on Earth.
  • 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

Array indexes Memes

Posts tagged with Array indexes

When Clean Code Principles Go Too Far

Programming Debugging
14 hours ago 57.8K views 0 shares
When Clean Code Principles Go Too Far
Someone's been reading Uncle Bob's "Clean Code" a bit too religiously! Instead of using normal array indexes like a sane person, they've created named constants for the values 0, 1, 2, and 3. It's like wearing a three-piece suit to take out the trash—technically more formal but completely unnecessary. This is what happens when you follow the "magic numbers are evil" principle without applying any common sense filter. Next up: creating a constant called PLUS_ONE because incrementing by 1 isn't self-documenting enough! 🤦‍♂️

Spotlight

Portable Power Station

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 →

Ad The Docker Beast

Run Docker containers without melting your desk
ASUS ROG Strix Gaming Laptop | ProgrammerHumor.io
Buy = You get cool gear + we can finally afford proper documentation instead of just comments. 📖