Coding is like cooking
Tags: decodingcoding, beginners, noob, codenewbie
Published: 2021-09-18 23:40:09

---
title: Coding is like cooking
published: true
description: Are you a chef or a home cook when it comes to coding?
tags: decodingcoding, beginners, noob, codenewbie
cover_image: https://images.unsplash.com/photo-1513135065346-a098a63a71ee?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=2600&q=80
---

Coding is like cooking. 

You can learn cooking by learning the fundamental techniques first, in some chef’s instruction manual perhaps - how to slice, dice, simmer, boil, fry, grill; how to handle meat, vegetables, grain, etc etc. That’s probably how one trains as a chef in culinary school. This is the chef’s approach – skill-focused, craftsmanship as the anchor.

Or you can just learn by recipes using one of those popular Jamie Oliver cookbooks with delicious pictures on lovely-to-touch matt paper – first by drooling at the final product, the taste and texture of things to come, and seeing the recipe to know the possibility of what you can achieve from a few humble and simple ingredients. Or you can learn all that by just watching grandma, cooking by *guesstimation*, and tasting the delicious outcome she produced, and wanting to make it yourself because you want more. This is the home cook’s approach – interested only in the final product and the joy it gives to the recipient, and less about the skill, process and craft.

I think I just realised that I prefer to learn coding using the home cook’s approach. I suspect many indie makers are like that too. Because after going through the fundamentals at Vue School, I got kinda bored. Yes, I learned loads despite. The courses were project-based, not just isolated concepts with coding examples – a to-do list, a shopping cart, a pricing table. But it still doesn’t showcase the final dish of Vue very well. The example projects are limited because you can’t teach the moon and the sky in one course, and rightly so because walking beginners through that would just scare them off. But I didn’t walk away with a good idea of the myraid of things I can build with Vue. I didn’t walk away excited by what Vue can do. 

Then I chanced upon Codepen, and did a search for Vue snippets. And boy was I mind-f**king-blown. The stuff that people make with Vue—to-do apps, calendars, invoice/graphic generators, games, cool animations, integrating with Google API on the browser, markdown text editors, whiteboard canvas, etc etc—I was just GOBBLING IT ALL UP. In the end, I put 101 of these Vue code snippets into a collection. And there, my recipe book for Vue. A cookbook for Vue 101 basics, with detailed recipes and drooling-worthy final product showcases. You can even edit the code right there and then, to play around with the code yourself. From this recipe book alone, I got really excited with what I can do with Vue, all the myriad of possibilities I can envision in my own products.

I was sold.

You often hear this old marketing adage: “Sell benefits, not features.” Codepen sold the benefits, the possibilities, Vue School sold the features, the specifications. Not to say you don’t need proper instruction like online courses. At some point in developing a product, you probably bump into some issue that you would benefit from someone expert walking you through how it should be done, what the best practices are. But not the cart before the horse. When you get excited/inspired/passionate first about something, you’re willing to go through hell and fire to make it work. At least that’s how I work.  

Coding is like cooking. And I’m your home cook.

---

Follow my daily writings on [Lifelog](https://golifelog.com/goals/30), where I write about learning to code, goals, productivity, indie hacking and tech for good.