try it, then you know it____________just do it , as love easily fade.

一次只有一个目标,步子迈小些,抑制一次实现所有功能的冲动。 过程如何结果就如何,行动是欢喜的,不管是兴奋还是沮丧的情绪都对结果无益。贵在持之以恒

导航

Learning_ introduction to computer science and programming_writing,testing,and debugging programs

writing,testing,and debugging programs

take it a step at time

  1 understand problem

  2 think about overall structure and algorithms independently of expression in programming language

  3 break into small parts

  4 identify useful abstractions(data and functional)

  5 code and unit test a part at a time

  6 first functionality, then efficiency

  7 start with pseudo code

be systematic

whe ndebugging, think scientific method

ask yourself why program did whtat it did, not why it didn't do what you wanted it to do.

  

posted on 2012-02-27 01:52  吾一  阅读(132)  评论(0编辑  收藏  举报