Logo
The first mouse was wooden. Like a real mouse house.
  • 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
4 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

Andaz Press 11oz. Coffee Mug Gift for Men or Women, World's Greatest Software Developer Mug, 1-Pack, Drinking Cup Birthday Christmas Promotion Graduation Gift Ideas for Him Her

Andaz Press 11oz. Coffee Mug Gift for Men or Women, World's Greatest Software Developer Mug, 1-Pack, Drinking Cup Birthday Christmas Promotion Graduation Gift Ideas for Him Her

Affiliate
$17.99
We all do

We all do

Programming
93.1K views 3 years ago
NordVPN

NordVPN

Sponsored
VPN