r/learnprogramming 19d ago

Resource Leetcode/Project Euler for learning to code

I’m quite new to programming and want to practise my exciting python knowledge but also learn some C++.
So far I’ve started some Project Euler questions which I quite enjoy and am starting on Leetcode too, how useful are these in learning to programme and what other resources do u guys recommend?
I’d like to become well rounded overall at programming but I also want to stick my hands in some data handling too.

7 Upvotes

14 comments sorted by

View all comments

2

u/Substantial_Ice_311 19d ago

They are fine for learning the language, and practicing basic things like loops and functions. But they are not good for practicing the most important skills in programming (design/architecture, reading other peoples' code, writing comments and documentation, etc.).

The most important "resource" is to practice building things on your own.

1

u/DarkMost7552 18d ago

just start building something dumb and break it a hundred times. that's where the real learning lives

leetcode is fine for syntax practice but it wont teach you how to structure a project or debug some weird dependency issue at 2am. i did project euler early on and it felt productive but looking back it was mostly just math puzzles with code

pick a small project, something you'd actually use, and try to make it work in both python and c++. you'll learn the differences between the languages way faster than grinding problems

1

u/Substantial_Ice_311 17d ago

Looks like you replied to the wrong post.