Why Coding Matters

Learning how to code will get you a job and a salary. More importantly, it allows you the freedom of understanding that you can solve problems that seem overwhelming.

If you’ve never learned to code, to program a computer to do something, I recommend you give it a try. While I wouldn’t describe myself as a professional coder by any stretch, I know how to automate tasks I normally perform manually, scrape web pages for information, and program the machine to do other interesting, helpful things.

The act of programming is a liberating feeling and everyone should try it at least once or twice. But coding isn’t an end in itself. Too many times we get caught up in teaching people how to code without thinking through why we’re teaching the skill at all. What coding does, what it has forced me to do over the course of my life, is develop my ability to think computationally. Coding as a skill — as a way to get a machine to perform some task — is secondary.

Computational thinking is the true benefit.

My first computer was a Radio Shack TRS-80 Color Computer 1. My mother gave it to me when I was seven or eight years old. It possessed 16K of RAM, but had no storage capability, no hard drive or floppy disks. In order to store any code I had written (which was in the BASIC programming language), I used a cassette recorder.

I can remember spending long hours at the keyboard, typing line after line into my PC, only to get it to print out a smiley face on the screen, or play a game of tic-tac-toe. But the act of creation, of telling the machine to do something, was freeing. I could create, without limitation. And perhaps more importantly, I was developing a way of thinking that, in the future, would enable me to better solve problems that didn't involve the computer at all.

Coding is not a pretty thing. It’s messy and fraught with failure. I have never written a script or program that worked exactly the way I wanted it to the first time. Most first (and sometimes second, third, and fourth) attempts at writing a program are loaded with syntactical and semantic errors. Programming requires the coder to identify and fix those errors in order for the program to work. It can be a frustrating process, but it teaches critical thinking in a way that other activities cannot.

The CEO of Sphero, the company that developed the BB-8 toy robot of Star Wars: The Force Awakens fame, argues that coding allows us to learn from our mistakes. “It introduces the methodical process, how to go back and fix things,” Paul Berberian says. “There's no computer programmer in the world that gets it right the first time.”

Coding also requires the programmer to look at problems and their solutions in unique ways. Dubbed computational thinking, this problem solving process is the true benefit of learning how to code. According to the BBC, computational thinking “allows us to take a complex problem, understand what the problem is and develop possible solutions. We can then present these solutions in a way that a computer, a human, or both, can understand.”

There are four key techniques to thinking computationally:

  • decomposition — breaking down a complex problem or system into smaller, more manageable parts
  • pattern recognition — looking for similarities among and within problems
  • abstraction — focusing on the important information only, ignoring irrelevant detail
  • algorithm development — developing a step-by-step solution to the problem, or the rules to follow to solve the problem
  • That is, “computational thinking involves taking that complex problem and breaking it down into a series of small, more manageable problems (decomposition). Each of these smaller problems can then be looked at individually, considering how similar problems have been solved previously (pattern recognition) and focusing only on the important details, while ignoring irrelevant information (abstraction). Next, simple steps or rules to solve each of the smaller problems can be designed (algorithms).”

    In the end, by solving the smaller problems, by tackling complexities in small, solvable chunks, the larger, complex challenges we face, whatever they are, can be eventually resolved. And this is the value of coding.

    To be sure, learning the skill of coding will get you a job and a salary. But, more importantly, it will develop in you a way of breaking down problems into more manageable, solvable tasks and allow you the freedom of understanding that you can eventually resolve those challenges that seem overwhelming at first.

    Do yourself a favor. Pick up a book on how to code. Commit to spending time learning how to program. It will change the way you view the world.

    'Upstreamism': Your zip code affects your health as much as genetics

    Upstreamism advocate Rishi Manchanda calls us to understand health not as a "personal responsibility" but a "common good."

    Sponsored by Northwell Health
    • Upstreamism tasks health care professionals to combat unhealthy social and cultural influences that exist outside — or upstream — of medical facilities.
    • Patients from low-income neighborhoods are most at risk of negative health impacts.
    • Thankfully, health care professionals are not alone. Upstreamism is increasingly part of our cultural consciousness.
    Keep reading Show less

    Meet the Bajau sea nomads — they can reportedly hold their breath for 13 minutes

    The Bajau people's nomadic lifestyle has given them remarkable adaptions, enabling them to stay underwater for unbelievable periods of time. Their lifestyle, however, is quickly disappearing.

    Wikimedia Commons
    Culture & Religion
    • The Bajau people travel in small flotillas throughout the Phillipines, Malaysia, and Indonesia, hunting fish underwater for food.
    • Over the years, practicing this lifestyle has given the Bajau unique adaptations to swimming underwater. Many find it straightforward to dive up to 13 minutes 200 feet below the surface of the ocean.
    • Unfortunately, many disparate factors are erasing the traditional Bajau way of life.
    Keep reading Show less

    Golden blood: The rarest blood in the world

    We explore the history of blood types and how they are classified to find out what makes the Rh-null type important to science and dangerous for those who live with it.

    Abid Katib/Getty Images
    Surprising Science
    • Fewer than 50 people worldwide have 'golden blood' — or Rh-null.
    • Blood is considered Rh-null if it lacks all of the 61 possible antigens in the Rh system.
    • It's also very dangerous to live with this blood type, as so few people have it.
    Keep reading Show less

    Scientists create a "lifelike" material that has metabolism and can self-reproduce

    An innovation may lead to lifelike evolving machines.

    Shogo Hamada/Cornell University
    Surprising Science
    • Scientists at Cornell University devise a material with 3 key traits of life.
    • The goal for the researchers is not to create life but lifelike machines.
    • The researchers were able to program metabolism into the material's DNA.
    Keep reading Show less