Go homepage(回首页) Upload pictures (上传图片) Write articles (发文字帖)
The author:(作者)归海一刀published in(发表于) 2014/3/24 4:28:09 The evolution of a programmer,
The evolution of a programmer-programmer, software engineer-IT information Evolution of a programmer
People are strange and complex animals, programmers as well.
Programmers are also divided into a number of levels, fresh out of College is a level, dry for several years was a level years honed a level, after how many tribulations of a butterfly is another level. Programmers make up code at different levels also show a variety of styles. Programmers will have a few words can take care of things to write a one-page, thinking that the levels, worse still twiddling intentionally written so that in later generations do not understand, while others will be to simplify the code.
Beginners should first and foremost to ensure correctness and readability of the code, after the code is written, naturally less, code more concise, the efficiency will also increase.
The first year
The second year
The third year
V year
Tenth year
Editor asked soft media engineer colleagues: achieving the same functionality, concise code than complex code efficient high? Some said, depends on the algorithm, if the same algorithm, a simple code efficiency should be higher. Some said, even if the same algorithm, a simple code is no more complex than complex code efficient and minimizing the use of loops, in particular the use of multiple loops, or try to do things in a loop.
In short, the programmer needs to be diligent in thinking, willing to learn, have a firm belief, also loved this line, to be a good programmer. What do you think?
一个程序员的进化 - 程序员,软件工程师 - IT资讯一个程序员的进化
人是奇怪而复杂的动物,程序员也一样。
程序员也分为了许多的层次,刚毕业是一个层次,干了几年是一个层次,经历多年磨砺又是一个层次,经过几多磨难化茧成蝶将是另一个层次。而不同层次的程序员编出的代码也显示出了不同的风格。有的程序员会将明明几句话可以搞定的东西偏要写一页,以为这样才显出水平,更可恶的是还要绕来绕去故意写成这样,让后来的人看不懂,而有的则会将代码化繁为简。
初学者首要的是要保证代码的正确性和可读性,代码写多了后,问题自然少了,代码也较简洁了,效率也会随之提高。
第一年
第二年
第三年
第五年
第十年
小编也问过软媒的工程师同事们:实现同样功能,简洁代码一定比复杂代码效率高吗?有的说,还得看算法,如果算法相同,简洁代码效率应该会高一些。有的说,即使算法相同,简洁代码也不见得比复杂代码效率高,而应尽可能减少循环的使用,特别是少用多重循环,或者尽可能在一个循环中做更多的事。
总之,程序员需要勤于思考、乐于学习、有坚定的信念,还要热爱这一行,才能做一个好的程序员。大家说呢?
赞