Thinking Like a Programmer

A large goal of this Nanodegree program is to give you practice thinking like a computer programmer. Longtime programmers will often talk about how the programming thought process has helped them in other areas of their life, but what does it mean to "think like a programmer?" In this Nanodegree program we will focus on five specific ways of thinking that all programmers have to use all the time. We will come back to these ideas repeatedly throughout the Nanodegree program.

1. Procedural Thinking
Procedural thinking involves creating perfectly clear and unambiguous instructions for a computer to follow.

It may be easy to tell a person how to sort a deck of cards, but getting a computer to do that requires more thought. But once you've learned to think this way you'll find that computers can do it much faster.

2. Abstract Thinking
Abstract thinking means finding similarity, or as programmers would say, generality amongst seemingly different things.

In this Nanodegree program you will visit hundreds of Udacity web pages. It would be impractical for a programmer to specifically program each of these pages individually. The Udacity programmers used the power of what's called abstraction to avoid unnecessary repetition of work.

3. Systems Thinking
Systems thinking happens when you break a big problem down into smaller pieces. Programmers do this when they create a plan (often on paper) for how a program will work. It involves big-picture thinking and decision-making about a problem and how different pieces of a program can work together to solve it. If this is unclear now, don't worry! You'll understand what this means much more clearly by the end of the Nanodegree program.

4. Technological Empathy
"Technological empathy" comes in many forms. For example, computer empathy is the ability to understand what a computer is, how it works, and what it's good and bad at doing.

A computer is a tool, as are the programs we use and the programming languages used to write them. It's almost impossible to program anything substantial without a basic understanding of how these tools work.

5. Debugging
Debugging is a systematic process of relentlessly identifying the cause of a computer program that doesn't work.

When a program doesn't work, it's because there is a mistake (also known as a "bug") somewhere in the computer code. Since these mistakes are an unavoidable part of programming, every good programmer has a system for fixing them and that system usually looks something like this:

Collect evidence (what makes this program fail?)
Generate theories (what may have caused this problem?)
Test those theories (if my theory is correct, how could I find out?)
Fix the problem

Yorumlar

Bu blogdaki popüler yayınlar

McDonald's ın vizyonu

Digital Loyalty: Dijital Sadakat ve POS entegrasyon, ödeme sistemleri

Ultimate Loyalty Statistics