Logo
Build time: When coffee becomes code.
  • 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

Scientific notation Memes

Posts tagged with Scientific notation

Someone Explain This To Me Like Im Five

Javascript Programming Debugging Frontend Webdev
1 year ago 337.0K views 0 shares
Someone Explain This To Me Like Im Five
JavaScript's parseInt function just decided that 0.0000005 equals 5 because scientific notation turned it into "5e-7" and parseInt grabbed just the "5" like a toddler picking only the M&Ms out of trail mix. Six decimal places? Nah, too much work. Five? Still zero. Seven? BOOM, suddenly 5. It's like JavaScript was programmed by someone rolling dice to determine behavior. No wonder developers drink.

Today's picks

LG 34U530A-W 34-inch UltraWide WFHD (2560 x 1080) IPS Wide Computer Monitor, 100Hz, VESA DisplayHDR 400, HDMI, DisplayPort, USB Type-C, Tilt/Height/Swivel Stand, White

LG 34U530A-W 34-inch UltraWide WFHD (2560 x 1080) IPS Wide Computer Monitor, 100Hz, VESA DisplayHDR 400, HDMI, DisplayPort, USB Type-C, Tilt/Height/Swivel Stand, White

Affiliate
$299.38
GearScouts.com

GearScouts.com

Sponsored
Power stations
Ctrl+C: The Silent Developer Killer

Ctrl+C: The Silent Developer Killer

Linux
399.3K views 9 months ago