Logo
CTRL+C, CTRL+V: The real programming heroes.
  • 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

Octal-numbers Memes

Posts tagged with Octal-numbers

No Doubt Javascript

Javascript Programming Webdev
8 months ago 349.7K views 1 shares
No Doubt Javascript
JavaScript's type coercion strikes again with its legendary logic. Using the strict equality operator (===), octal 017 doesn't equal decimal 17 because JavaScript interprets that leading zero as "hey, this is octal!" (which is 15 in decimal). But 018? That's not a valid octal number, so JS just shrugs and treats it as decimal 18. Then comes the double equals (==) where JavaScript becomes the chaos agent we all know and love. It converts the string to a number and suddenly everything makes sense... in the most JavaScript way possible. The language where "wat" is a valid reaction and type coercion is both your best friend and worst enemy. This is why we have trust issues.

Today's picks

Windows User And Linux User

Windows User And Linux User

Linux
121.2M views 20 days ago
It Feels Exactly The Same

It Feels Exactly The Same

Programming
86.3K views 1 year ago
Smraza Ultimate Starter Kit with Tutorial, Breadboard Holder, Jumper Wires, Resistors, DC Motor Compatible with Arduino R3 Project Compatible with Mega 2560 Compatible with Nano

Smraza Ultimate Starter Kit with Tutorial, Breadboard Holder, Jumper Wires, Resistors, DC Motor Compatible with Arduino R3 Project Compatible with Mega 2560 Compatible with Nano

Affiliate
$23.99