Menu
My code doesn't work, I have no idea why. My code works, I have no idea why.
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
Jshell Memes
Posts tagged with Jshell
Java Is Javascript Confirmed
Java
Javascript
Programming
9 months ago
541.8K views
0 shares
So JShell (Java's REPL) does 1 + "1" and gets "11" , while Node.js does the same thing and... also gets "11" . The family resemblance is uncanny. Turns out when you mix numbers and strings with the + operator, both languages just shrug and go "guess we're doing string concatenation now." Java converts that integer to a string faster than a junior dev can say "type coercion." The real joke? After decades of Java devs dunking on JavaScript for its weird type coercion, they're doing the exact same thing. At least JavaScript has the excuse of being designed in 10 days. What's Java's excuse? 🤔
Today's picks
Vaydeer Wrist Rest with Keyboard Stand Computer Ergonomic Wrist Support Pad
Affiliate
$21.59
NordVPN
Sponsored
VPN
Vibe Coding Vs. Vulnerability Awareness
Programming
303.9K views
1 year ago