23
dev-avi
7y

A kid in highschool asked what are the similarities between Java and Javascript. I told him:

"Java is to JavaScript what Car is to Carpet."

Comments
  • 5
    You have carpets in a car actually.
  • 2
    i always thought that was an extent. i mean, they're both programming languages, right? why not java is to javascript as what truck is to motorcycle? java and javascript are way similar than a car and carpet is what im trying to make, the "car" in car and carpet doesn't really matter that much. i prioritize meaning over linguistics.
  • 2
    @Linux beat me to it.

    But i guess if you use java to serve a website(just don't) javascript would be in java
  • 0
    @Linux
    But can you drive a carpet?
  • 6
    @Michelle aladdin can drive a carpet xD
  • 1
    @rui725
    Damn it, that's what I thought of when I posted the comment, but I didn't realize anyone would say lol.
Add Comment