引言:若是你是一名IT技術人員,在遇到問題時,最常訪問哪一個網站?百度,谷歌,官方網站(API),棧溢出,仍是其餘?文中,做者比較了
羅塞塔代碼和 棧溢出兩大知識庫網站的異同點,突出了羅塞塔代碼精準、高質量、富有激發價值等特色。「just in the past week i found three Tasks that were directly applicable to problems i am currently solving. and one of the Tasks motivated me to produce a generic solution to a problem that i had solved in an adhoc manner before.by using RosettaCode i am not just solving problems for myself, but i help generate solutions that are useful for other people too.」
若是你能看懂簡單的英文(藉助翻譯工具也行),使用
羅塞塔代碼說不定能帶給你意想不到的驚喜。
Pages in category "C++" on
http://rosettacode.org
轉載請註明:Linux人社區>
英文資訊翻譯專版.編譯
英文原文:
RosettaCode vs Stack Overflow
RosettaCodephp
Stack Overflow is a great site. every time when a search on a problem takes me there i look forward to the helpful and insightful answers. in ways, posting a question on Stack Overflow is similar to creating a task on
RosettaCode.
on Stack Overflow a problem gets posted in form of a question, and people attempt to solve the problem by answering it. question and answers can be discussed and updated. once the poster of the question is satisfied, an answer may be chosen as being accepted.
on RosettaCode a problem gets posted in form of a
Draft Task and people attempt to solve the problem by creating an implementation in their favorite language. Task and implementations may be discussed and revised until a consensus is found. once discussion stabilizes and people focus on implementing, the task may be promoted from
Draft Task to
Task status the key difference is that the questions and answers on Stack Overflow can be of various qualities. there are lots of duplicates, and not always are the answers useful. on RosettaCode on the other hand the poster is motivated to solve the Task her or himself. also the goal of all Tasks is to produce a usable implementation, and the discussion does not end when an answer is accepted by the poster but it continues until a consensus for an acceptable task definition is found. and then after that the Task stays active as long as new solutions in different languages get added. also RosettaCode gets referenced frequently in Stack Overflow discussions on RosettaCode people are not motivated to answer by getting points but because the answer helps shape the Task and thus ultimately the quality of the whole site. they take ownership of the task by providing their implementation. they don't want to help a fellow with a question but produce something of lasting benefit for all future visitors of the site. as Stack Overflow grows, it will be harder and harder to sift through all the questions to find the right answer, whereas the growth of RosettaCode will lead to a library of problems and solutions where one can find practical code examples that have a clear relationship to the question (the Task) with several complete implementations that allow for analysis and comparison. when i have a problem to solve i try to see if it is generic and interesting enough for RosettaCode. then i formulate a Task, and make an attempt at solving it myself. the discussion often helps me to identify problems that i had not foreseen, edge cases, and different approaches. every new task includes a lot of learning and goes beyond just solving the immediate problem. i don't know if the creator of RosettaCode had this kind of use in mind, but i hope he can see the value of this approach. and it is not only new Tasks that get created this way, but also solutions to existing Tasks too. just in the past week i found three Tasks that were directly applicable to problems i am currently solving. and one of the Tasks motivated me to produce a generic solution to a problem that i had solved in an adhoc manner before. by using RosettaCode i am not just solving problems for myself, but i help generate solutions that are useful for other people too.