Diverse resource of problems to show merits of different languages [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionI'd like to learn a few more languages to "expand my mind" a bit, and I find working through problems the best way to learn. I have been doing most of my programming in C, sometimes C++, and perl. With these tools, I seem to be able to solve the problems I encounter, but you know the expression "when you have a hammer, everything looks like a nail?" I feel like I am stuck in a single paradigm, and I would like to change.
What I'm looking for is a resource similar to Project Euler, but with more generic/real world problems(Project Euler is very mathematical) which highlight the benefits of different languages. The idea would then be to work through the problem set with each language and note the relative difficulty of completing each problem in the given language.
1) Does such a resource exist?
2) What are some problems you would include? Remember: these shoul开发者_运维百科d show the strengths of each language.
Thanks!
CodeChef (http://www.codechef.com/) and Sphere Online Judge (https://www.spoj.pl/problems/classical/) both look like good options for you. Their problems aren't necessarily practical, but they are less explicitly mathematical than Project Euler, and their judges accepts programs written in plenty of languages. The Python wiki recommends a few others (http://wiki.python.org/moin/ProblemSets), but they aren't quite as flexible.
I haven't used either site, so I can't recommend any specific problems. Just make sure to include some logic problems so you can revel in the awesomeness of prolog :)
精彩评论