Logo
HTTP 402: Payment Required (The web's unused checkout).
  • 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

Overloading Memes

Posts tagged with Overloading

Context In Comments

Typescript Javascript Programming Debugging
9 months ago 412.6K views 0 shares
Context In Comments
Ah, the classic "I'll fix it later" comment that's been sitting there since 2019. The code has an if-else statement that does exactly the same thing in both branches. Someone probably spent hours debugging why their overloaded function wasn't working, then just gave up and wrote this abomination with a promise to fix it "when TypeScript understands overloading well enough." Spoiler alert: they never fixed it, and three devs have since quit rather than touch this cursed file.

Today's picks

Logitech MX Ergo S Advanced Wireless Trackball Mouse, USB-C Rechargeable Wireless Ergonomic Mouse with Bluetooth and Encrypted Dongle, 6 Programmable Buttons, for PC/Mac - Graphite

Logitech MX Ergo S Advanced Wireless Trackball Mouse, USB-C Rechargeable Wireless Ergonomic Mouse with Bluetooth and Encrypted Dongle, 6 Programmable Buttons, for PC/Mac - Graphite

Affiliate
$99.99
I got a fever and the only prescription is more try-catch

I got a fever and the only prescription is more try-catch

Programming
76.0K views 2 years ago
Alright, fair enough

Alright, fair enough

Programming
74.1K views 4 years ago