You may have heard this comparison before, at first, I was a little confused by it but when I thought about it in relation to my own experience it made sense π€
Just like when learning to code, in cooking you start with the basics.π§βπ³
First, building familiarity with one cuisine (or language), becoming acquainted with the foundations, and slowly earning some confidence.
Now you can take simple ingredients, your tools, and follow a recipe to prepare a meal. This is no different to following getting started instructions with your chosen language/framework and practising with an example site, or app π
Of course, given a recipe, you can experiment with new dishes β from other cultural cuisines β trying new techniques and learning with each meal.
The fun thing about cooking is that, once you have the basics down, you can start to improvise; taking what you find in the fridge (user requirements), with the concepts that you know (best practices) and still cook (or build) something well π
With each iteration, you improve, expanding your repertoire until you feel confident that you can cook almost anything, given the right recipe, ingredients, and time to learn.
Itβs like this with coding. At first, I became familiar, and then confident, with JavaScript. I experimented with various frameworks β Vue, React, Angular β and found that the concepts Iβve internalised, and the best practices I follow allow me to play with these new cuisines and cook a great website π€ΈπΌ
The ingredients (the tools I have to work with) and recipe (the clientβs requirements) may change, however, Iβve grown to be confident in cooking a meal (building a website) that best suits the clients’ tastes.