Logo
Keep calm and git commit.
  • 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

Coding-on-plane Memes

Posts tagged with Coding-on-plane

If Num Equals Two

Javascript Programming Frontend Backend Webdev
3 months ago 25.1M views 0 shares
If Num Equals Two
Someone's literally writing an isEven() function from scratch by checking if a number equals 0, 1, 2, or 3 individually and returning true/false accordingly. The beauty here is the complete disregard for the modulo operator ( num % 2 === 0 ) that every developer learns in week one. The plot twist? Kenny's response pointing out that there's literally an NPM package called is-even for this. Because why write 4 lines of cursed if-statements when you can install a dependency that probably has 47 transitive dependencies? The JavaScript ecosystem in a nutshell: someone already packaged your bad idea, and it has 2 million weekly downloads. Bonus points for coding this on an airplane like it's some urgent production hotfix that can't wait until landing. When the coding urge hits, altitude is just a number.

Today's picks

Alxum 20Gbps USB C Switch 2 Computers for USB-C/Thunderbolt 4 Monitor/Dock

Alxum 20Gbps USB C Switch 2 Computers for USB-C/Thunderbolt 4 Monitor/Dock

Affiliate
$49.99
Delete MS Teams: The Linux Developer's Nightmare

Delete MS Teams: The Linux Developer's Nightmare

Linux
789.4K views 1 year ago
Is It Same With You All

Is It Same With You All

Programming
89.0K views 2 years ago