Monday, October 20, 2014

The difference between Java and JavaScript

Java is a cake and JavaScript is a cookie.

Java goes with the different C programming languages, and they are cakes. Like cheesecake, strawberry shortcake and sponge cake. (People who knows the different languages gets to decide which one is which) They are different cakes with different ingredients and flavors and all of that, but still all cakes.

JavaScript belongs in the same category as PHP, Python and Ruby, and they are cookies. Like raisin cookie, chocolate-chip cookie and gingersnaps. These are also very different cookies, but still in the same category of cookies.

HTML and CSS in this simile are cereals. While they are still edible, they're not pastries.

(Note: this is just for laughs, no hate on which one is which or need to mention that the languages are not in the same categories in how they work ex. Java is object-oriented, C is not)

No comments:

Post a Comment