编程小贴士

给你的编程提供小点子


程序员需要克服的10大障碍

1.解释做了什么

解释软件开发过程是很让人崩溃的一件事。那些不会写代码的家伙可能在这一行有所了解,但是正如定义所说的,他们不会写代码。在他们眼中,我们就是一群待在昏暗的房间中弓着背噼里啪啦敲键盘的程序猿。

搞不好你的朋友家人还有同事,甚至有可能会有编码“不是正当职业”的想法呢,呵呵。

 2.可视化解决方案

假设给定一组简单的——难听点说就是考虑不周的——需求,你需要制定数据存储库、代码结构、算法、通信协议,以及只要能解决业务问题就得去完成的各种技术内容。然后,还需要用一种通俗易懂,哪怕是外行人也能明白的方式解释出来,并在规定期限内交付给客户。

很少有开发人员能真正做好这一点。

 3.预估交付时间

这是每个开发人员的噩梦。试想一下,以前一点也没有接触过的任务,突然要你确定完成它所需要的时间,是不是有点天方夜谭呢?可能曾经也写过类似的代码,但是却并不是在有着相同问题和限制的同一个系统中,好吧!

这个时候,那真的只能靠经验了。但是大多数程序员会低估时间,原因可能是因为他们只考虑了编码这部分而忽略了其他。

 4.借鉴别人的代码

条条大路通罗马,解决方案也是。借鉴别人的代码可能意味着要花上很多时间去研究上千行代码以了解整个的思路。而且,要是恰巧原先的开发人员一点也不留注释和文档的话——甚至只是个半途而废的半成品项目——那就更加令人头大了!

 5.范围蠕变和你自认为神奇的功能

敏捷开发会造成范围蠕变,这让人既沮丧又无奈——特别是当你突然心血来潮要加点什么愚不可及的功能的话,更甚。结果如何你自己心知肚明,你的团队也明 白失败没商量。但是客户其实知道得更清楚,所以要是失败不可避免地降临时,那么就全都是你的责任,因为你居然不相信客户的眼光。

 6.优化不足和过度优化之间的平衡

复杂的软件永远达不到完美的境界。我们不可能无限制地优化,这也是为什么软件项目从不在规定日期到来之前发布的原因。

另一方面,很多人都会抱有“先就这样吧——以后再来改进”的心态。现在这些代码是可以好好工作,但是这些人也明白这会成为明日的烦恼和失败。当然,你不会再来修复和调试了,它们会被留给下一个可怜的开发人员。

 7.测试代码

既可以自己编写单元测试,也可以组团通过软件来测试,不过不要妄想能发现所有bug……

  • 复杂的软件可能会包含成千上万行代码。系统可能有着数十亿种可能的相互作用和路径,想要全部测试是不可能的。
  • 同样的,一个软件在不同的条件下,不同的系统里碰到的软件不同,其交互的结果也不尽相同。我们没办法测试所有可能的情况。
  • 想要编写出好的单元测试是一件既繁琐又艰难的工作。在理想情况下,测试应该在软件开发项目开工之前就写好——但是要是我们先写这个的话,我们怎么向客户解释四个星期过去了为什么一点进程都没有?
  • 单元测试不会突出显示每一个bug。虽然我们都希望能有一个专门的小组来编写测试然后积极去发现问题,但是由于现实条件的限制——成本控制和时间限制,这 对于很多项目而言都是奢望,所以大都需要开发团队自己来编写测试。而他们在编写时总是会无意识地避免任何不妥当的边界情况。
  • 程序员会用一种逻辑方式去解决问题,但是用户很少会这样做;所以有时候用户会帮我们找到一些我们自己察觉不出来或者根本想不到的问题。

 8.写代码文档

写文档的确是费时又费力。很少有开发人员擅长并愿意花时间去写/阅读文档。

 9.处理硬件问题

我们每天都需要处理各种技术问题,例如硬盘崩溃、驱动冲突、软件故障等等。虽然这并非是我们软件开发人员的工作,但是要是不解决这些的话,我们是没法继续工作的。

然而很多人却会莫名其妙地认为,搞IT的就应该懂所有关于电脑的东西。当他们碰到问题,他们第一时间想的就是联系我们来解决,而且不管什么问题都这样,真心是让人无语又崩溃。

当然这些中断时间不应该对交付进度产生影响或者增加成本,但是这可能吗?

 10.和人打交道

上述任务通通可以总结为“如何与人打交道”。令人奇怪的是,非专业人士不会去指点飞行员应该如何驾驶飞机,也不会跑去和电工说我的房子需要重新布线等等,但是他们却非常喜欢在软件开发上面指手画脚,提供各种异想天开的点子。

关于这一点,我还真提不出什么好的解决方法,所以,唉,各位,我们还是接受有一半的地球人他们的IQ低于平均值的事实吧!

115 Responses to “ 程序员需要克服的10大障碍 ”

  1. best pron说道:

    94vmAo Looking forward to reading more. Great post.Really thank you! Awesome.

  2. Im thankful for the article.Thanks Again. Really Cool.

  3. Giay cao got说道:

    Really appreciate you sharing this blog article.Really looking forward to read more. Awesome.

  4. dog xxx说道:

    Major thanks for the blog article.Much thanks again. Awesome.

  5. tra gung说道:

    I think other web site proprietors should take this web site as an model, very clean and wonderful user friendly style and design, as well as the content. You are an expert in this topic!

  6. I really liked your article post.Thanks Again. Cool.

  7. animal drawings说道:

    Ultimately, an issue that I am passionate about. I have looked for data of this caliber for the very last various hrs. Your website is tremendously appreciated.

  8. Very good post.Really looking forward to read more. Really Cool.

  9. Lung Detox说道:

    Pink your website post and cherished it. Have you at any time imagined about guest putting up on other relevant weblogs comparable to your website?

  10. Nothing is more admirable than the fortitude with which millionaires tolerate the disadvantages of their wealth.

  11. You made some really good points there. I looked on the internet to find out more about the issue and found most people will go along with your views on this web site.

  12. Click to read说道:

    Im no pro, but I imagine you just crafted the best point. You undoubtedly know what youre talking about, and I can really get behind that. Thanks for being so upfront and so truthful.

  13. Usually I don at learn post on blogs, but I wish to say that this write-up very forced me to take a look at and do it! Your writing taste has been surprised me. Thank you, very great post.

  14. Well I truly enjoyed studying it. This post offered by you is very helpful for proper planning.

  15. Thanks a lot for the blog.Really thank you! Fantastic.

  16. webpage说道:

    Pretty! This has been an extremely wonderful article. Thanks for supplying this info.

  17. W88说道:

    Money and freedom is the best way to change, may you be rich and continue to help other people.

  18. shopping so appаА аЂа•аА аЂаling. There are mаА аЂаny things which eveаА аБТ–y Internet shopper

  19. This is very interesting, You are an overly professional blogger.

  20. Ep coc ly tam说道:

    I simply could not depart your website before suggesting that I really enjoyed the usual information a person supply to your visitors? Is going to be again regularly in order to check up on new posts.

  21. woking cab说道:

    I really liked your blog post.Thanks Again. Awesome.

  22. I was suggested this blog through my cousin. I am now not sure whether this post is written through him as no one else realize such distinctive about my trouble. You are incredible! Thank you!

  23. status说道:

    Very neat blog.Really looking forward to read more. Really Great.

  24. go to说道:

    user in his/her brain that how a user can be aware of it.

  25. The Lost Ways说道:

    You have done an impressive job and our entire community

  26. pretty handy stuff, overall I feel this is worth a bookmark, thanks

  27. I think this is a real great blog post. Want more.

  28. Nwokolo Collins说道:

    Many thanks for sharing this great post. Very inspiring! (as always, btw)

  29. Vernon说道:

    Thank you ever so for you blog article.Really looking forward to read more. Really Great.

  30. Clicking Here说道:

    This excellent website definitely has all the information and facts I needed concerning this subject and didn at know who to ask.

  31. Nwokolo说道:

    Thank you ever so for you blog post.Much thanks again. Really Cool.

  32. mac mic blocker说道:

    I truly appreciate this article post.Thanks Again. Much obliged.

  33. klm coupon code说道:

    It as very effortless to find out any topic on net as compared to books, as I found this paragraph at this web site.

  34. Well I definitely enjoyed studying it. This post provided by you is very useful for proper planning.

  35. you may have an important blog here! would you prefer to make some invite posts on my blog?

  36. hip hop说道:

    Very good article! We are linking to this particularly great post on our website. Keep up the great writing.

  37. this website说道:

    Outstanding post however , I was wondering if you could write a litte more on this subject? I ad be very grateful if you could elaborate a little bit further. Cheers!

  38. It is usually a very pleased day for far North Queensland, even state rugby league usually, Sheppard reported.

  39. Really appreciate you sharing this blog article.Really thank you! Keep writing.

  40. It as awesome for me to have a web site, which is good in favor of my know-how. thanks admin

  41. to read more说道:

    I truly appreciate this blog.Thanks Again. Much obliged.

  42. tools for sales说道:

    Major thankies for the blog.Thanks Again. Want more.

  43. Really informative blog post.Much thanks again. Much obliged.

  44. This web site definitely has all the information and facts I needed about this subject and didn at know who to ask.

  45. It is really a nice and useful piece of information. I am glad that you shared this useful info with us. Please keep us up to date like this. Thank you for sharing.

  46. You made some nice points there. I looked on the internet for the issue and found most persons will agree with your site.

  47. Very nice post. I just stumbled upon your blog and wanted to say that I ave really enjoyed browsing your blog posts. After all I will be subscribing to your rss feed and I hope you write again soon!

  48. The Constitution gives every American the inalienable right to make a damn fool of himself..

  49. Major thanks for the blog.Really thank you! Keep writing.

  50. click here说道:

    Look into my homepage voyance par telephone

  51. tips说道:

    Way cool! Some extremely valid points! I appreciate you writing this write-up and the rest of the website is really good.

  52. fashion说道:

    What as up, just wanted to tell you, I liked this blog post. It was funny. Keep on posting!

  53. Wonderful post however , I was wanting to know if you could write a litte more on this subject? I ad be very grateful if you could elaborate a little bit further. Appreciate it!

  54. This post is indeed quite interesting. Keep it up! I all try here to further the contributions Vervolg.

  55. click here说道:

    This is one awesome blog.Really looking forward to read more. Great.

  56. Looking for in advance to finding out further from you afterward!

  57. fat loss tips说道:

    while and yours is the best I have found out till now.

  58. Tejido a crochet说道:

    Im obliged for the article post.Really looking forward to read more. Really Cool.

  59. Como tejer说道:

    Nice post.I enjoyed it,Thanks for information

  60. Arctic Circle说道:

    I was looking for this thanks for the share.

  61. try this说道:

    your blog. I too am an aspiring blog writer but I am still new to everything.

  62. blue nike说道:

    Morbi commodo dapibus sem risus tristique neque

  63. worth说道:

    You made some first rate points there. I looked on the internet for the issue and found most people will go together with along with your website.

  64. click here说道:

    Very useful info аАааАТ‚artаАаб‚Т€Т“cularly the last part I

  65. Waec expo说道:

    Major thankies for the article.Much thanks again. Cool.

  66. Waec exam说道:

    long time now and finally got the courage to go ahead and give you a shout out

  67. ps4 ark servers说道:

    Thank you for the good writeup. It in fact was a amusement account it. Look advanced to far added agreeable from you! By the way, how could we communicate?

  68. Understanding whаА аЂаt you un?erstand no? out of

  69. Some truly fantastic info , Glad I found this.

  70. Wow, great article post.Really thank you! Awesome.

  71. Well I really enjoyed reading it. This information offered by you is very practical for proper planning.

  72. dpboss online说道:

    Very nice article. I definitely love this site. Keep it up!

  73. mаАааБТ“ blog us poker sites accept mastercard

  74. tm objection说道:

    Wow, superb weblog structure! How lengthy have you ever been blogging for? you made blogging glance easy. The whole glance of your site is excellent, let alone the content!

  75. You have made some really good points there. I checked on the net for more information about the issue and found most people will go along with your views on this website.

  76. scary maze说道:

    Thorn of Girl Very good information and facts could be discovered on this online blog.

  77. It as the little changes that make the biggest changes. Many thanks for sharing!

  78. Only wanna input that you have a very decent site, I love the style it actually stands out.

  79. cris urzua说道:

    There is definately a lot to know about this issue. I love all the points you made.

  80. Thanks a lot for the blog article.Really thank you! Really Cool.

  81. Victor说道:

    Simply a smiling visitant here to share the love (:, btw outstanding layout.

  82. Wow! This could be one particular of the most beneficial blogs We have ever arrive across on this subject. Basically Fantastic. I am also an expert in this topic so I can understand your effort.

  83. Thank you for this entry. Looking forward to next one.

  84. Very good post. I am facing a few of these issues as well..

  85. Thanks for the news! Just was thinking about it! By the way Happy New Year to all of you:DD

  86. Thanks for sharing this very good article. Very interesting ideas! (as always, btw)

  87. Chapel说道:

    Wow, awesome blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is wonderful, let alone the content!

  88. know more说道:

    your weblog posts. Any way I will be subscribing for your feeds

  89. to learn more说道:

    I truly appreciate this article.Really looking forward to read more. Really Cool.

  90. to me. Nonetheless, I am definitely happy I came

  91. click resources说道:

    Looking forward to reading more. Great post. Awesome.

  92. click here说道:

    This awesome blog is really awesome and besides amusing. I have discovered helluva handy advices out of this amazing blog. I ad love to visit it every once in a while. Cheers!

  93. visit说道:

    Wow, marvelous blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is wonderful, as well as the content!. Thanks For Your article about sex.

  94. Really informative post.Really looking forward to read more. Really Cool.

  95. I\ ave had a lot of success with HomeBudget. It\ as perfect for a family because my wife and I can each have the app on our iPhones and sync our budget between both.

  96. Share now说道:

    Looking around While I was surfing today I noticed a great article concerning

  97. Thanks for the blog.Really looking forward to read more. Keep writing.

  98. bakedcomfortfood说道:

    Nice blog here! Also your web site loads up very fast! What web host are you using? Can I get your affiliate link to your host? I wish my website loaded up as quickly as yours lol

  99. announce online说道:

    who you are however definitely you are going to a well-known blogger should you

  100. Thanks a lot for this kind of details I had been exploring all Yahoo to locate it!

  101. learning toys can enable your kids to develop their motor skills quite easily;;

  102. for more info说道:

    Im thankful for the blog article.Much thanks again. Great.

  103. Really appreciate you sharing this blog.Really looking forward to read more. Keep writing.

  104. Thanks a bunch for sharing this with all of us you actually know what you are talking about! Bookmarked. Kindly also visit my web site =). We could have a link exchange arrangement between us!

  105. Utterly pent content material , regards for entropy.

  106. Nelida说道:

    pretty helpful material, overall I believe this is well worth a bookmark, thanks

  107. purses too. I personally believe that any one of those totes

  108. Really informative blog article.Thanks Again. Want more.

  109. slot joker123说道:

    Just Browsing While I was surfing yesterday I saw a excellent article concerning

  110. my review here Where can I find the best online creative writing courses?

  111. dong ho seiko说道:

    Just Browsing While I was surfing yesterday I saw a great article about

  112. vong bi skf说道:

    Thanks so much for the blog post.Much thanks again. Really Great.

  113. official site说道:

    Im thankful for the article.Much thanks again. Really Great.

  114. Wow! Thank you! I continually needed to write on my site something like that. Can I include a part of your post to my site?

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>