DEV Community

loading...

Cooking & Programming

vickilanger profile image Vicki (she/her) ・1 min read

Cooking is basically programming, right?

Recipes = Scripts
Ingredients = Variables
Techniques = Classes

What other comparisons could be made?

Discussion

pic
Editor guide
Collapse
w3gaucho profile image
W3G

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
Collapse
katnel20 profile image
Katie Nelson

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

Collapse
vickilanger profile image