If you want to compare programming languages, I can recommend the following links:
- Rosetta Code,
- Comparison of programming languages (basic instructions),
- Comparison of programming languages
In particular, I like the following pages:
If you want to learn a new language you can look at the implementation of one problem and learn how the new language can be used.