Consider Yourself a Developer? You Should Solve the Project Euler Problems
blog.usejournal.com
blog.usejournal.com
Project Euler is more about mathematical problems that you need to apply some generic algorithmic concepts but more importantly mathematical thinking to. It didn't drive me to exercise anything particular feature of the language I was using. I used it with Go, but I just as well could've used C, or Python. Which is part of Euler's point, really: not to be linked to a particular language.
I didn't complete 50 exercises however. I think I reached in the low 20s, stopping at a problem that involved Pascal's Triangle [1]. By that point, all problems had exercised mathematical ability, and none of my programming ability, which is why I stopped.
Maybe further exercises provide more of a programming challenge?
What would be a non math-heavy alternative to project euler be like?
It would also make it hard to use the exercises in some languages. For example, awk or retrocomputing languages like JOSS or BLISS.
There's definitely a need to have good little or mid-sized projects which do call for library-wrangling, though. They help get programmers acquainted with the culture surrounding the language, and what kinds of problems other people using the language are solving.
But for learning a specific programming language and confront with other developers, not mentioned yet, there is http://exercism.io/
Edit: also http://www.puzzlenode.com/
I remember a problem with Fibonacci numbers that required me to know some really weird Fibonacci identity.
I agree that PE problems aren't the best are getting familiar with the whole language, but you'll own the math, array, loop, and recursive nature of whatever language you do the first 50 problems in.
My math-major buddy solved the first 20 or so PE problems using _excel_. His "loop" was just him dragging in excel to duplicate a recursive excel equation.
I think the problems are very do-able by noobs looking to learn some aspects of a language. And you get a sweet badge when you do it: http://projecteuler.net/profile/civilian.png
If you're getting bogged down in the algorithms aspect of PE, then I highly recommend taking the Stanford Algorithms course: https://lagunita.stanford.edu/courses/course-v1:Engineering+...
So, “consider yourself a developer?”. No, not really. I’m just a person who codes.
There’s a word for that, you know.
If you define programming as software engineering then of course Project Euler is mostly irrelevant. But computer science is math, not software engineering.
EDIT: I find it much more useful to run through building basic data structures and writing base algorithms (like sorting) in a new language.
On the flip side, it's a fantastic exercise for learning how important time complexity can be, but again, 99% of real world programming is CRUD.
Sure, it depends what type of work you do. E.g. if you work on limited power embedded devices for the medical industry your work as a developer will probably lean more towards the comp-sci end of the spectrum whereas if you're building snazzy browser based UI's with React.
How well you perform with Project Euler problems has absolutely nothing to do with how great a developer you are or whether or not you could consider yourself a developer because of it.
Reading this as a computer scientist: Knuth is where the education is at. And like project Euler, don't feel bad if you miss a few of the hard ones.
I was trained in computational number theory, and when I used them to teach myself ruby, and I stopped when I got comfortable enough with the language to find the problems tiring
Much as I hate everything he stands for, there is a certain hoodie-wearing punk that disproves this.
Needs and update
https://en.wikipedia.org/wiki/Structure_and_Interpretation_o...
Edit: Also +1 for Advent of Code