Hacker News new | ask | show | jobs
by ivolimmen 1 day ago
I personally would never compare the two. Someone said: java to JavaScript is like car to carpet. And I completely agree with that.
3 comments

Reminds me of one of C++'s talks from Andrei Alexandrescu:

"std::allocator is to allocation what std::vector is to vexation".

There was another transparency inside:

"std::allocator is to allocation what alligator is to allegation".

> Someone said: java to JavaScript is like car to carpet.

You mean the sibling who commented five minutes before you?

The saying has been in use since at least 2018, so I think "someone" is accurate.

https://www.keycdn.com/support/difference-between-java-and-j...

as ham is to hamster
as ant is to antidisestablishmentarianism