Menu
Ctrl+Alt+Del: The three-finger salute.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
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
Document-api Memes
Posts tagged with Document-api
Everything Is A String
Javascript
Webdev
Frontend
Programming
2 months ago
162.4M views
0 shares
JavaScript really said "booleans? never heard of her" and decided that "on" and "off" are perfectly valid boolean values. Because why use true or false like a normal language when you can just... use strings? The document.designMode property is the perfect example of JS's commitment to making type safety engineers cry themselves to sleep. Other languages have strict typing and sensible boolean values. JavaScript has vibes and string literals pretending to be booleans. This is fine.
Today's picks
Software Developer Computer Engineer Nerd - Funny Programmer Short Sleeve T-Shirt
Affiliate
$17.98
Not today junior.. not today...
Debugging
64.3K views
3 years ago
Devs VS. Schools
Programming
124.7K views
5 years ago