How to think like a programmer — lessons in problem solving


28 bookmarks. First posted by jbakerr april 2018.


You probably also wondered what does it mean, exactly, to think like a programmer? And how do you do it?? Essentially, it’s all about a more effective way for problem solving. via Pocket
IFTTT  Pocket 
5 weeks ago by booyaa
1. Understand
Know exactly what is being asked. Most hard problems are hard because you don’t understand them (hence why this is the first step).

*
But the problem is on a continuum

The art of debugging is figuring out what you really told your program to do rather than what you thought you told it to do.”” — Andrew Singer
Reassess: Take a step back. Look at the problem from another perspective. Is there anything that can be abstracted to a more general approach?
“Sometimes we get so lost in the details of a problem that we overlook general principles that would solve the problem at a more general level. […]
The classic example of this, of course, is the summation of a long list of consecutive integers, 1 + 2 + 3 + … + n, which a very young Gauss quickly recognized was simply n(n+1)/2, thus avoiding the effort of having to do the addition.” — C. Jordan Ball
jspost 
8 weeks ago by branyon
You probably also wondered what does it mean, exactly, to think like a programmer? And how do you do it?? Essentially, it’s all about a more effective way for problem solving.
Archive 
8 weeks ago by plouf
If you’re interested in programming, you may well have seen this quote before: “Everyone in this country should learn to program a computer, because it teaches…
from instapaper
11 weeks ago by kevinold
If you’re interested in programming, you may well have seen this quote before: “Everyone in this country should learn to program a computer, because it teaches…
april 2018 by ShawnLi
How to think like a programmer — lessons in problem solving via Instapaper https://ift.tt/2JBAu0e
ifttt  instapaper 
april 2018 by sshappell
How to think like a programmer — le…
from twitter_favs
april 2018 by dr3wster
You probably also wondered what does it mean, exactly, to think like a programmer? And how do you do it?? Essentially, it’s all about a more effective way for problem solving. via Pocket
IFTTT  Pocket 
april 2018 by tkhwang
You probably also wondered what does it mean, exactly, to think like a programmer? And how do you do it?? Unless you have a system, this is probably how you “solve” problems (which is what I did when…
Programming  psychology  tutorial  bestpractice  thinking  problem  solving 
april 2018 by gilberto5757
How to think like a programmer — lessons in problem solving
instapaper 
april 2018 by improv42
How to think like a programmer — lessons in problem solving
from twitter_favs
april 2018 by kucingaudio
If you’re interested in programming, you may well have seen this quote before: “Everyone in this country should learn to program a computer, because it teaches…
programming  from instapaper
april 2018 by jbakerr