程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

ThinkingPython | Knowledge about Programming and Debugging

編輯:Python

Excerpt

As Sherlock Holmes pointed out, “When you have eliminated the impossible, whatever remains, however improbable, must be the truth.” (A. Conan Doyle, The Sign of Four)

 As `Sherlock Holmes` pointed out: "When you have ruled out the impossible, no matter how incredible what remains, it must be the truth.(Conan Doyle, The Sign of Four)

For some people, programming and debugging are the same thing. That is, programming is the process of gradually debugging a program until it does what you want. The ideais that you should start with a working program and make small modifications, debugging them as you go.

 For some people, programming and debugging are the same thing.That is, programming is a process of gradually debugging a program,until it achieves the effect you want.We think you should start with a working program, make small modifications on top of that, and debug them.

For example, Linux is an operating system that contains millions of lines of code, but it started out as a simple program Linus Torvalds1used to explore the Intel 80386 chip. According to Larry Greenfield, “One of Linus's earlier projects was a program that would switch between printing AAAA and BBBB. This later evolved to Linux.” (The Linux Users' Guide Beta Version 1).

 For example, `Linux` is a million lines of code operating system, but it was originally only used by `Linus Torvalds` to studyA simple program for the `Intel 80386 chip`."One of Linus' early projects was a program to switch between printing AAAA and BBBB," says `Larry Greenfield`. This project morphed into Linux.(The Linux Users’ Guide Beta Version 1)

  1. Linus Benedict Torvalds, born in Helsinki, Finland, with American nationality, was the earliest author of the Linux kernel, and subsequently initiated theThis open source project, the chief architect and project coordinator of the Linux kernel, is one of the most famous computer programmers and hackers in the world today.He also started the open source project Git, and worked as a lead developer for ︎


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved