Menu
99 bugs in the code, fix one, 127 bugs in the code.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
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
2 months ago
386.5K 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
FIDECO M.2 NVMe SSD Enclosure, M.2 NVMe to USB Adapter, USB 3.2 Gen 2 (10Gbps) SSD Reader for M & M+B Key, Sandwich Style Design, Tool-Free Installation, Support UASP and Trim
Affiliate
$12.46
At Least Generate It
Programming
71.9K views
1 year ago
GearScouts.com
Sponsored
Power stations