登录 注册
当前位置:主页 > 资源下载 > 15 > CSDN拥有全面的技术文档集合

CSDN拥有全面的技术文档集合

  • 更新:2024-06-30 19:00:50
  • 大小:2.7MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:咨询 - 行业
  • 格式:RAR

资源介绍

A couple of months ago I had the opportunity to review some code that I wrote when I first started working with Delphi. I hate to admit it but it was pretty bad. A very humbling experience for sure. My skills are vastly improved since that time. In fact, I've notice changes in just a few months. Have you ever gone back and looked at the code that you wrote six months ago? I bet that the thought going through your head was "What was I thinking? There is no way I wrote that." If you ever had to debug your own code from a previous project I bet it was painful. It is even worse if you have to debug someone else's code. The only thing that can help the pain is good comments. Notice I said "good" comments. Bad comments are worse than no comments at all. For example look at the code snippit below. What does it do?