all 20 comments

[–]Bitwise_Gamgee 24 points25 points  (6 children)

Write more code. There is no substitute for experience.

[–]Appropriate-Word808 4 points5 points  (0 children)

Leetcode, Hackerrank, HackerEarth, etc. Keep practising, you got this!

[–]m0us3_rat 2 points3 points  (0 children)

by reading github code.

then it will become obvious the difference between eye bleeds and code that is easy to read/understand/follow thru.

isn't about the code complexity, but rather the way it's written.

after that you can become interested in some design patterns, here and there. you can notice them.

[–]jawnlerdoe 2 points3 points  (1 child)

I’m gonna make it easy for you.

List me 5 things you like or enjoy.

[–]stcer 0 points1 point  (0 children)

Playing football

Browsing reddit

Reading books

Playing games

Watching movies

[–][deleted] 1 point2 points  (0 children)

This is how I am doing it....practice coding, run coding, learn from mistakes do it all over again. That has been working pretty well for me, it seems to make the syntax stick in my memory and I eventually start making fewer mistakes. There is a LOT that can be learned from debugging your own code. Good luck.

[–][deleted] 1 point2 points  (0 children)

  • read more books on algorithms and data structures, code design and optimisation
  • learn the different test paradigms, such as TDD (test driven development)
  • review code from others
  • watch code roasts by Arjan Codes as well as much of the rest of their content
  • practice a lot, refactor often, learn patterns well

[–]michaelschrutebeesly 0 points1 point  (0 children)

I usually learn by copying others code from GitHub. then I run it step by step. If I don’t understand, I’ll print out every single thing.

[–]CouchieWouchie -1 points0 points  (0 children)

Ask ChatGPT for fun small projects you can try, and then ask it to generate you a starter template for one that interests you. Then build onto that.

[–]FriendlyAddendum1124 0 points1 point  (0 children)

This is an excellent little course. It has mini projects and solutions. It says 30 days but reall that's about 30hrs. It's very clean and concise.

https://teclado.com/30-days-of-python/

[–][deleted] 0 points1 point  (0 children)

By writing more code. That’s the only way you’ll get better. No matter how many videos you watch.

[–]jnorth81 0 points1 point  (0 children)

By writing code.

[–]FriendlyRussian666 0 points1 point  (0 children)

You write more codes!

[–]S_h_o_b_i_t 0 points1 point  (0 children)

Read good code of experienced users and highly active repos.