Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Algorithms/problems to solve while learning a new language [closed]

At some point in our lives we're put in the situation to learn a new language (either by job requirements or just passion). Personally, I'm trying to learn Objective-C coming from a background of several years coding php. My problem is that I'm bored with your average starting programs (most of them coming from maths; eg: Fibonacci).

What are your first algorithms and programs you write when learning a new language?

I'm thinking we could make a list of interesting problems to be solved and that would make the learning curve at least more entertaining.

Later edit: My question is about fun things (and also useful), but not like Code Kata or other very boring math stuff (I've done many of those already)

Later edit [ 2 ]: I found this today and the problems there seem fun to do.

like image 507
Bogdan Constantinescu Avatar asked May 03 '26 01:05

Bogdan Constantinescu


1 Answers

Try to develop something proper, a project of some kind; solving algorithmic problems really only teaches you to apply the algorithm, not really a lot about the language your using.

Deciding on a useful project then deciding on a language and then 'doing it' will cover many of the bases you need to learn a new language.

like image 154
Bella Avatar answered May 05 '26 20:05

Bella