Education logo

Why and how you should learn to code

Guide to coding

By Himanshu GuptaPublished 3 years ago 7 min read
Like
Screen view while coding

You should learn how to code

  1. Knowing code helps you notice business ideas
  2. Knowing code helps you execute your ideas
  3. How to learn how to code
  4. How hard is it to learn to code?
  5. Concluding Remarks

So if you’re a student (or otherwise engaged full-time) but might be interested in starting your own business/startup/app/project on the side, hopefully, you’ll find some of this stuff useful.

1 — You should learn how to code

If there’s one piece of advice I could give to anyone interested in starting their own business, it’s that you should learn the basics of web design and coding.

Why? Two reasons. Firstly, knowing how to code opens up possibilities for business ideas in your mind. It helps you notice problems in day-to-day life that can be solved by technology. And secondly, knowing how to code helps you execute your ideas much, much faster than everyone else. Let’s explore these in a bit more detail.

2 — Knowing code helps you notice the business idea

This is golden advice when it comes to generating ideas. There’s often very little to be gained from sitting in a room with your tech-savvy mates and thinking “right guys, let’s come up with a startup idea to make money”. Instead, the best ideas come about from experience, from noticing problems that you have in your own life, and then generating solutions for those problems.

Knowing the basics of how to code helps with both. Let’s say you’re a surgical trainee, and you have to fill out consent forms for the same appendicectomy operation 10 times per week. You duplicate exactly the same information on each form — in fact, the only thing that really changes is the patient’s name and their signature. A ’normal’ surgical trainee might regard this as no more than a minor annoyance, and not even consider how the process could be streamlined. But a surgical trainee who taught herself how to code for a few weeks at university — will immediately notice that it would be pretty easy to make an app for consenting patients, one that automatically fills out the complications, leaving her with more time to explain stuff to the patient and less time writing the same information over and over again. This, in fact, is the story behind Surgical Consent, an app that does what it says on the tin and is being trialed at various hospitals this year.

There are literally thousands of examples like this — where an idea for innovation is first noticed by someone with a background in coding. That person knows how easy it is to hack together an app that talks to a database and that could save a lot of time for real people, and so they start to notice areas in their working lives where that could be applied.

3 — Knowing code helps you execute your ideas

Knowing the basics of design and code will also help you execute your ideas much, much faster than someone who doesn’t. In my example, I had the idea for the BMAT Crash Course one night. I mulled the idea over in my head on the way home, and had the website online and taking bookings exactly 7 days later. My background in design and code firstly made the idea feasible — it took the idea from “it would be cool to run a local BMAT course” to “hmm, if I’m running a local BMAT course, I might as well make a website and advertise it nationally”. This thought was what sparked the whole company, and if I didn’t have a basic background in design and code, it likely would have never happened, and I wouldn’t have put so much money in bitcoin…

4 — How to learn how to code

Okay, so you’re sold on the idea of learning how to code. You might even have dabbled with it a few times in the past, but never really got past the initial stages.

Coding can often seem like a black box to those entering the field for the first time. There are so many languages, frameworks, platforms — how do you know where to begin?

Here’s my suggestion — start with web development and completely ignore ‘app development’ (ie: iOS and Android) for the time being. Within web development, start by teaching yourself HTML and CSS. There are some very good courses on Code school, CodeCademy, Udemy, Coursera — many of them are free, but if you’re happy to pay £10 or so, you can get a really high-quality course that’ll teach you the important stuff in a matter of a few days.

Once you’re familiar with HTML and CSS, you should learn Javascript which will teach you how to add interactivity to web pages and will be a solid foundation for you to learn NodeJS. Again, Code School, Codecademy, Udemy, etc, all have really good courses on Javascript and NodeJS that are quite fun to work through.

Having done this, you’ll now know how to ‘talk’ to a database, and once you can write code that talks to a database, you can spin up practically any app or website you can think of. Let’s say you’re Jack Dorsey and you have the idea for Twitter — your basic app is a text field for a tweet, and when you hit the ‘Tweet’ button, your code inserts an entry into the database. When you want to read a list of tweets, just retrieve them from the database. The ability to write code that talks to a database completely changes the game in terms of the possibilities you’ll see for businesses/apps/products as you go about your life.

5 — How hard is it to learn to code?

So far, I might have made it sound like anyone can hop onto Udemy, learn how to code, and then make the next Twitter.

That’s not what I’m suggesting. Coding can be quite hard in practice, but learning the basics is reasonably straightforward, and the basics are all you really need to kick-start your creativity.

I still go back to this simple concept of databases whenever I think of a new project. For example, when I first had the idea for an online BMAT question bank. I came up with the database structure within a few minutes:

None of this is particularly groundbreaking stuff, and by following a ‘Learn to code’ course on any of the websites I’ve suggested for a few weeks, you’ll have the power to (at least theoretically) build almost any website/web app you can think of. Sure, the process of actually building it will be hard and will probably take a lot of time, but by learning the basics of coding you’ll at least know what the possibilities are.

And let’s say further down the line, you’re a working professional and you have an idea for a simple app based on a database that would save you and your colleagues time in your working lives. If you know the basics of coding, you can form the structure of the app in your head, and then find someone else to actually design/code the app for you — websites like Upwork.com are great for finding reasonably-priced freelance developers who can do precisely that.

So is coding hard? Yes. But is learning the basics of code particularly hard? Not really — with the wealth of incredible online courses available today, all you need is an inquisitive mind and the desire to work through the exercises to gain basic proficiency in a reasonable timeframe.

6 — Concluding Remarks

So yeah, if you’re thinking of starting a startup/business/app/whatever on the side, chances are it’ll be something at least loosely tech-related (because the barrier to entry for those is so low, and the potential upside is so high).

If you’re in that position then you should definitely learn how to code. I’ve got a friend who started a £10 course on Udemy 3 weeks ago. He’s been enjoying working through the exercises, and with just a few hours in the evenings each week, he’s already taught himself HTML and CSS and is working through Javascript. He’s already made stuff like an online to-do list and a web-based game and is looking forward to applying his newfound skills to problems he encounters within his field, with the long-term plan of hopefully spinning these solutions off into a startup of his own.

I hope you enjoyed reading this post, or found it useful in some way, and wish you the very best of luck on your journey.

list
Like

About the Creator

Himanshu Gupta

I am a student and a passionate writer. Mostly I write about Self-improvement, Tech, and Productivity tips through which I aim to help people.

I create content that is easy to understand, practical, and even a kid can consume.

Reader insights

Be the first to share your insights about this piece.

How does it work?

Add your insights

Comments

There are no comments for this story

Be the first to respond and start the conversation.

Sign in to comment

    Find us on social media

    Miscellaneous links

    • Explore
    • Contact
    • Privacy Policy
    • Terms of Use
    • Support

    © 2024 Creatd, Inc. All Rights Reserved.