读别人的代码真难受
以前工作的时候,也经常阅读代码,不过大多都是同一个项目组的,彼此对编码风格都比较熟悉。现在来读一个陌生的代码,还真不容易。现在觉得印度程序员的统一风格,真是好啊!
前两天有人跟我说,当初我逼着他在来公司的头两个礼拜里什么都不干,就读项目组的代码,并写上完善的注释,真是让他受益匪浅。靠,我什么时候干过这么变态的事情嘛?想不起来了,他们是讹我吧?
不过,当初对刚出来的菜鸟兄弟,倒是指划过怎么读代码。从源头开始,层层拨开,不就搞清楚了代码是怎么来的,干什么的了嘛!程序的生死,不就看两函数不就行了嘛,InitInstance()函数-程序的起头了,ExitInstance()函数-当然就是结束了。。。。。。
nnd,刚打开vc看了看,这两函数好像还没写错。
68条留言 立即发表评论
That’s really thinking at an imiprsseve level
It’s spooky how clever some ppl are. Thanks!
Holy Toledo, so glad I clicked on this site first!
Help, I’ve been informed and I can’t become ignorant.
Ppl like you get all the brains. I just get to say thanks for he answer.
Your article was excellent and erudite.
Posts like this brighten up my day. Thanks for taking the time.
Shoot, so that’s that one supposes.
Yo, that’s what’s up truthfully.
You have more useful info than the British had colonies pre-WWII.
God help me, I put aside a whole afternoon to figure this out.
That’s really thinking of the highest order
That’s what we’ve all been waiting for! Great posting!
That’s a brilliant answer to an interesting question
You saved me a lot of hassle just now.
Hey, killer job on that one you guys!
Action requires knowledge, and now I can act!
Stellar work there everyone. I’ll keep on reading.
God, I feel like I should be takin notes! Great work
Glad I’ve finally found something I agree with!
That’s an apt answer to an interesting question
I found just what I was needed, and it was entntraieing!
I’m impressed you should think of something like that
That’s a clever answer to a tricky question
Now I know who the brainy one is, I’ll keep looking for your posts.
Hey there just wanted to give you a quick heads up. The words in your article seem to be running off the screen in Internet explorer. I’m not sure if this is a format issue or something to do with web browser compatibility but I thought I’d post to let you know. The design look great though! Hope you get the problem solved soon. Many thanks
That’s a posting full of insight!
I really appreciate free, succinct, reliable data like this.
YMMD with that answer! TX
Information is power and now I’m a !@#$ing dictator.
Great article, thank you again for writing.
I am forever indebted to you for this information.
Created the greatest articles, you have.
I was struck by the honesty of your posting
What a joy to find someone else who thinks this way.
Why do I bother calling up people when I can just read this!
I thought I’d have to read a book for a discovery like this!
Thanks guys, I just about lost it looking for this.
Now we know who the sensible one is here. Great post!
Enlightening the world, one helpful article at a time.
A provocative insight! Just what we need!
These topics are so confusing but this helped me get the job done.
That’s a smart answer to a difficult question.
Heck of a job there, it absolutely helps me out.
Heckuva good job. I sure appreciate it.
Big help, big help. And superlative news of course.
That’s an expert answer to an interesting question
I’ve been looking for a post like this forever (and a day)
God help me, I put aside a whole afternoon to figure this out.
Please teach the rest of these internet hooligans how to write and research!