3 ms·
I can't adequately express how great of a resource Project Euler is to someone learning about programming. The way I learned to code was working my way through
by habosa 13y ago
I can't adequately express how great of a resource Project Euler is to someone learning about programming.
The way I learned to code was working my way through Project Euler problems in Python, eventually getting to a score of about 55 before I was at the point where I decided to try making "real" programs like Android apps.
When you learn to code people tell you that X or Y is bad for performance, and you should do A or B instead. The problem is that most beginner-type programs run in a few milliseconds and there is no way to see the performance either way. When you're doing a PE problem, a performance tweak can change your answer from a 1-minute runtime to a 1-second runtime. That's something anyone can appreciate, and it lets you experiment with performance on interesting math problems.
Another advantage of Project Euler is it makes you realize just how powerful a computer can be in the right hands. These are problems that nobody in their right mind would try to solve by hand, but they're so tractable with programming knowledge. That was a very exciting realization to me and it pushed me towards a career in software.
- mathattack 13y agoI've been using Euler to learn Python too. It's been so much fun that I kept going. Now I wonder if I should switch again.