
First, solve the problem. Then, write the code. — John Johnson
—What lingers after this line?
Problem-Solving Approach
This quote emphasizes the importance of understanding and solving the problem before jumping into writing code or implementing a solution. It encourages a methodical approach rather than hastily rushing into technical execution.
Separation of Concerns
Johnson advocates for a clear distinction between problem-solving and coding. Solving the problem should be the primary focus, while coding is merely a tool to implement that solution. This separation helps avoid unnecessary complexity in code.
Planning and Strategy
Johnson underscores the value of planning. Before writing code, developers should map out the problem, break it down into manageable steps, and devise a strategy to tackle each aspect.
Efficiency and Effectiveness
By solving a problem before trying to write code, developers are more likely to write efficient and effective solutions. It ensures that the programming is built on a solid foundation rather than trial and error.
Mindset of a Programmer
This quote reflects a common mindset among successful programmers—that the thought process behind solving a programming challenge is just as important, if not more so, than the actual coding itself.
Recommended Reading
As an Amazon Associate, we earn from qualifying purchases.
One-minute reflection
What does this quote ask you to notice today?
Related Quotes
6 selectedWhen you are asked if you can do a job, tell 'em, 'Certainly I can!' Then get busy and find out how to do it. — Theodore Roosevelt
Theodore Roosevelt
At its core, Theodore Roosevelt’s advice champions a decisive kind of confidence: say yes before doubt has time to take control. Rather than waiting for perfect readiness, he urges people to begin with belief in their ow...
Read full interpretation →If you are in a shipwreck and all the boats are gone, a piano top buoyant enough to keep you afloat that comes along makes a fortuitous life preserver. But this is not to say that the best way to design a life preserver is in the form of a piano top. — R. Buckminster Fuller
R. Buckminster Fuller
Buckminster Fuller begins with a vivid survival image: in an emergency, anything that floats can become invaluable. A piano top, though never intended to save lives, may still function as a lucky rescue device.
Read full interpretation →Happiness isn't everlasting tranquility. Happiness is solving good problems. — Naval Ravikant
Naval Ravikant
At first glance, Naval Ravikant’s line overturns a common fantasy: that happiness means reaching a permanent state of peace where nothing difficult ever happens. Instead, he reframes joy as something active rather than p...
Read full interpretation →It is no good getting furious if you get stuck. What I do is keep thinking about the problem but work on something else. — Stephen Hawking
Stephen Hawking
Stephen Hawking’s remark begins with a practical truth: anger does not usually move a difficult problem forward. When people get stuck, frustration can narrow attention and drain energy, making the obstacle feel even lar...
Read full interpretation →It is not that I'm so smart, it's just that I stay with problems longer. — Albert Einstein
Albert Einstein
At first glance, Einstein’s remark sounds like modesty, yet it does more than downplay genius. By saying he simply ‘stays with problems longer,’ he shifts attention from innate talent to sustained effort, suggesting that...
Read full interpretation →If you can’t solve a problem, then there is an easier problem you can solve: find it. — George Pólya
George Pólya
George Pólya’s remark distills a central habit of good thinking: when a problem resists direct attack, progress often begins by reframing it. Rather than treating difficulty as a dead end, he invites us to see it as a si...
Read full interpretation →More From Author
More from John Johnson →