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

ThinkingPython | 關於Programing 和 Debugging的認識

編輯:Python

摘抄

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)

 正如`夏洛克·福爾摩斯(Sherlock Holmes)`所指出的:“當你排除了所有不可能,無論剩下的多麼不可思議,都一定是真相。”(柯南·道爾《四簽名》)

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 idea is that you should start with a working program and make small modifications, debugging them as you go.

 對於一些人來說,編程(programing)和調試(debugging)是同一件事。也就是說,編程是一個逐步調試(gradually debugging)程序的過程,
直到它達到您想要的效果。我們認為你應該從一個可以運行的程序(working program)開始,在此基礎上做一些小的修改,並調試它們(debugging 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).

 例如,`Linux`是一個百萬行代碼級別的操作系統,但它最初只是`林納斯·托瓦茲(Linus Torvalds)`用來研究`Intel 80386芯片`的一個簡單程序。
`拉裡·格林菲爾德(Larry Greenfield)`表示:“Linus的早期項目之一是在打印AAAA和BBBB之間切換的程序。”這一項目演變成了Linux。
(The Linux Users’ Guide Beta Version 1)

  1. 林納斯·班奈狄克·托瓦茲,生於芬蘭赫爾辛基市,擁有美國國籍,Linux內核的最早作者,隨後發起了這個開源項目,擔任Linux內核的首要架構師與項目協調者,是當今世界最著名的電腦程序員、黑客之一。他還發起了開源項目Git,並為主要的開發者 ︎


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