Simple exercises to learn a new language

I remember how I came across a list of basic algorithms that need to be implemented in a new language in order to understand how the language does something, but I seem to have lost the link to it.

What simple tasks / code snippets would you recommend to take over to choose a good sense of the language?

I'm not talking about developing large applications or anything that I think of, writing a linked list, and then expanding it to a doubly linked list. Implementation of various sorting / search algorithms, etc.

Exercises that would help someone who knows how to program in one language are accelerated as quickly as possible in a new language.

+7
language-agnostic
source share
7 answers

I usually take some random issues from Project Euler: http://projecteuler.net/

+6
source share

I like the exercises from CodeKata . They are not too light and not too complicated. Strive your mind with them!

+4
source share

I really like problems in spoj.pl. May be done in some places. Yours may be one of them.

+2
source share

I read somewhere that creating a blog is HelloWorld 2.0, I saw that you do not need large applications, but I found it appropriate to share this

+1
source share

You can try this list from JobSnake to familiarize yourself with the new programming language.

+1
source share

Trying to write a compiler / interpreter for it. This opens up many obscure corners of the language, and also allows you to understand the reasons underlying the features of the language.

+1
source share

Every time I / want to learn a new project, I force myself to find something to encode.

But, to be sure that I did it well, I always want to check my code and what it does.

To do this, I just try to do the same with the languages ​​I know and compare the results. To do this, I created a small project (posted on Github ) with an exercise sheet and a fix for each language I learned. This is a good way to find out, in my opinion, because it gives you a real small project.

+1
source share

All Articles