Stack OverFlow 正确的使用姿势(快速访问、优雅搜索)
为什么程序员一定要会用Google和Stack Overflow?
如何提问
在 Stackoverflow 可以看到太多经典的问题,我们可以从这些问题中学习如何去提问,如何和答题者沟通。当你看习惯了stackoverflow 上面的问题,提问时就会不自觉去模仿,从而避免问出无脑问题。下面是提问时最需要注意的几个问题:
- 问搜索引擎没有满意答案(google 起码过四页)的问题
- 问那些自己无法独立解决,已经做过很多尝试的问题
- 尽量清楚地描述问题:良好的排版,代码,错误提示,图片等
- 让你的问题对别人有帮助
- 问题要有确定的答案,不要有太多的主观性
反面例子
如何更好的使用stackoverflow
一些典型的提问/回答习惯
提问:
- 1,In my limited experience with … 谦虚表达自己在某方面的经验
- 2, I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this. 找了很久未果,求助攻
- 3,after searching around for a decent XX solution and found that everything out there was difficult to use. 找了N种方法都发现太TM难了。
- 4,I’ ve looked around and apparently I’ve got the choice between these libraries/ solutions: 说明自己是努力搜索过的,然后目前有了哪几种方案
- 5,which seems it’s a promising solution. 看起来是一个好解决方案
- 6,Ive tried multiple variations of this, but none of them seem to work. Any ideas? 试了很多种方法都无效,求助
- 7,Wanted to know if it’s good practice to do that and what would be the best way to do that? 我的做法是否正确,是否有更好的法子?
- 8,Thanks in advance. 先行谢过
回答问题:
- 1,If I understand you correctly, you want to xxx 如果我没理解错,你想。。
- 2,Can you provided more details about your use case ? Can you provide more xml and code setting the url ? 提供更详细
当别人回答你的问题后,你对回答的评论:
- 1,thank you for your answer sincerely 感谢回答blabla