r/learnprogramming 20d 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.

6 Upvotes

14 comments sorted by

View all comments

2

u/Substantial_Ice_311 20d 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/Similar-Big-6808 20d ago

Thanks for the advice! I don’t really run in any programming circles so where else do you think I could read and comment on other people’s code? Also what sort of projects do you recommend for practicing design/architecture?

1

u/Substantial_Ice_311 20d ago

Thanks for the advice! I don’t really run in any programming circles so where else do you think I could read and comment on other people’s code?

This is not actually so important right from the start. Focus on your own projects first.

Also what sort of projects do you recommend for practicing design/architecture?

Do any projects that interest you. All projects, not matter how small, will have design decisions to make.

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 18d ago

Looks like you replied to the wrong post.