Hacker News new | past | comments | ask | show | jobs | submit login

You're up against two challenges: Understanding functional programming, and understanding Scala's syntax. Without grounding in either, the solutions will look doubly opaque.

But there is a consistent vocabulary that shows up in functional programming, things like: map, reduce, fold, take, lambda, etc. You also need to understand lazy data structures. Once you have those ideas under your belt, a lot of the early Euler solutions are fairly obvious, and will wind up looking essentially identical across languages.

None of this is very difficult on its own, especially for someone with actual development experience like yourself. Are there any specific answers that you find particularly confusing? I'd be happy to translate them into Python or pseudocode and explain what's going on -- I promise it's not as crazy as it looks.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: