bookmate game
en
V.Anton Spraul

Think Like a Programmer

Повідомити про появу
Щоб читати цю книжку, завантажте файл EPUB або FB2 на Букмейт. Як завантажити книжку?
  • Ночь нежнацитує2 роки тому
    When you allow yourself to get frustrated—and I use the word “allow” deliberately—you are, in effect, giving yourself an excuse to continue to fail.
  • Ночь нежнацитує2 роки тому
    You should think of this book as an obstacle course for your brain. Obstacle courses build strength, stamina, and agility and give the trainer confidence. By reading through the chapters and applying the concepts to as many exercises as you can, you’re going to build confidence and develop problem-solving skills that can be used in any programming situation. In the future, when you are faced with a difficult problem, you’ll know whether you should try going over, under, or through it.
  • Ночь нежнацитує3 роки тому
    We will call the missing skill problem solving, the ability to take a given problem description and write an original program to solve it.
  • Samson Mwathiцитуєторік
    Remember that some problems, like our sliding tile puzzle, often hide their potential subdivision. Sometimes the way to find a problem’s divisions is to reduce the problem, as we’ll discuss shortly.
  • Samson Mwathiцитуєторік
    Also, restating the problem may be a necessary prerequisite step to using other common techniques, like reducing or dividing the problem.
  • Samson Mwathiцитуєторік
    Even if a restatement doesn’t lead to any immediate insight, it can help in other ways.
  • Samson Mwathiцитуєторік
    Restating a problem is like circling the base of a hill that you must climb; before starting your climb, why not check out the hill from every angle to see whether there’s an easier way up?

    Restatement sometimes shows us the goal was not what we thought it was.
  • Samson Mwathiцитуєторік
    Planning also allows you to set intermediate goals and achieve them. Without a plan, you have only one goal: solve the whole problem. Until you have solved the problem, you won’t feel you have accomplished anything.
  • Samson Mwathiцитуєторік
    the Prussian Helmuth von Moltke, famously said that “no plan survives first contact with the enemy”). But no army can succeed without planning and organization. Through planning, a general learns what his army’s capabilities are, how the different parts of the army work together, and so on.
  • Samson Mwathiцитуєторік
    General Dwight D. Eisenhower was famous for saying, “I have always found that plans are useless, but planning is indispensable.”
fb2epub
Перетягніть файли сюди, не більш ніж 5 за один раз