Archive for category 未分类
Nice article on basic programming. Those who are serious on writing code should be able to debug their own code, rather than to have their code debugged.
One of the most frequent categories of bad questions I see on StackOverflow is:
I wrote this program for my assignment and it doesn’t work.
[20 lines of code].
And… that’s it.
If you’re reading this, odds are good it’s because I or someone else linked here from your StackOverflow question shortly before it was closed and deleted. (If you’re reading this and you’re not in that position, consider leaving your favourite tips for debugging small programs in the comments.)
StackOverflow is a question-and-answer site for specific questions about actual code; “I wrote some buggy code that I can’t fix” is not a question, it’s a story, and not even an interesting story. “Why does subtracting one from zero produce a number that is larger than zero, causing my comparison against zero on line 12 to incorrectly become true?” is a specific question about…
View original post 1,348 more words
the connection has not been blocked, if this text is available. windows live writer has been unable to add a new post for months, i doubt if there’s something wrong, in spite of the gOOD-fRIEND-wALL. hope wp could be accessable till chinese new year..i’m planning to renew my blog with a collection of posts, as well as some innovative decorations.
Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!