DEV Community

Vicki Langer
Vicki Langer

Posted on

Cooking & Programming

Cooking is basically programming, right?

Recipes = Scripts
Ingredients = Variables
Techniques = Classes

What other comparisons could be made?

Top comments (5)

Collapse
 
hackergaucho profile image
Hacker Gaucho • Edited

Web languages are like a house:

  • HTML is the home
  • CSS is all decoration
  • DOM is the electricity and water network
  • JavaScript is the internet and all sensors, controls and electrical devices
  • back-end languages are the vehicles
Collapse
 
jldohmann profile image
Jesse

Pots and pans = functions. Put something in, some things happen, and bam you have something edible!

Collapse
 
vickilanger profile image
Vicki Langer

Nice!

Collapse
 
katnel20 profile image
Katie Nelson • Edited

Measuring cups/spoons = Tools (I couldn't program without my tools!)

Collapse
 
vickilanger profile image
Vicki Langer

Definitely!