If coding languages were sandwiches …

CoffeeScript = open-faced jam sandwich

Where JavaScript is PB&J, CoffeeScript is an open-faced jam sandwich. CoffeeScript is JavaScript but without semicolons and curly brackets. It was made for JavaScript programmers who wanted to save time and code in shorthand.

Just as eating an open-faced sandwich is messier than eating a closed-faced sandwich, having no brackets can make it harder to understand nested code.

CSS = cucumber sandwich

CSS is all about appearance, just like cucumber sandwiches. Despite the cutting of crusts, cucumber sandwiches require minimal ingredients and are easy to make. Likewise, CSS is easy to learn. It’s one of the first languages most coders learn, alongside HTML and JavaScript.

Forget Cascading Style Sheets; CSS shall now stand for Cucumber-Style Sandwiches.

Java = open-faced smoked salmon with onions

Java is an open-faced smoked salmon with onions sandwich because Java is complicated. The sandwich uses a lot of ingredients, and Java uses a lot of memory. Java is evolving and continues to add more features, which is why I made the sandwich open-faced.

Though Java is complex, it can run anywhere. Likewise, you can use whip up this sandwich or something similar to it with whatever ingredients you have in your fridge.

C# = roasted mushroom and mozzarella with greens

Java and C# are similar. They are well optimized, as are the sandwiches for health. C# is like Java but with more features (Or, in the sandwich case, ingredients.) 

Python = grilled cheese sandwich

Python is a grilled cheese. Like a grilled cheese is simple to make, Python is intuitive to use.

Grilled cheese is versatile and easy adaptable. So is Python. Python is portable, meaning it can be used in different operating systems, like both PC and Mac. No wonder Python is used to make so many websites! (Youtube, Google, and DropBox, to name a few).

However, Python does take a longer time than other coding languages to work. Programs written in Python are slow because Python is an interpreted language rather than a compiled one. This is like a grilled cheese, which can take longer than other sandwiches to make because you have to, y’know, grill the cheese.

Author Profile

Alexandra Kropova
Alexandra Kropova
Writer of blog posts and books at Mammoth Interactive. Can also be found posting to Mammoth Interactive's social media.

Leave a Reply