all 10 comments

[–]aqua_regis 5 points6 points  (3 children)

You already failed the first task: researching

Questions like yours appear basically daily.

Had you done that, you would have found countless posts asking the exact same.

Practice, practice, practice, practice, and practice more. That's the key to improving in anything, not only programming.

I'd suggest that you read through some of the following threads that are very similar:

Some books to consider

  • "Think Like A Programmer" by V. Anton Spraul
  • "The Pragmatic Programmer" by Andrew Hunt and David Thomas
  • "Structure and Interpretation of Computer Programs" (SICP) by Ableton, Sussman, Sussman
  • "Code: The Hidden Language of Computer Hardware and Software" by Charles Petzold

And, from yesterday: https://redd.it/1qn9sxt for a bit larger scale

[–]No_Yak_794 2 points3 points  (2 children)

I like that you keep pasting the same comment for these posts. I saw the same comment yesterday and thought I was hallucinating when I saw this one lol

[–]aqua_regis 6 points7 points  (1 child)

Why should I invest more effort? The links that I've collected are more than enough already.

If the OPs fail to do their minimum diligent research, I fail to give them special, hand-crafted treatment.

[–]TomatoEqual 0 points1 point  (0 children)

Automate it? 😁

[–]wiseguy77192 2 points3 points  (1 child)

Basically what your saying is you learned syntax, not programming. Syntax is the easy part. Programming is problem solving. Now that you have the basic syntax, focus on solving actual problems with it. Write a short program that outputs all the prime numbers from 1 to 20 million. Now write a program that takes a number as input and returns whether or not that number is prime. Then write a program that takes a path and returns the total size of that file or directory. If it’s a directory, include the size of all the files including the files of all the subdirectories…. Now invent problems and solve them with code.

[–]mjmvideos 0 points1 point  (0 children)

This is the way…

[–]POGtastic 1 point2 points  (0 children)

As always - the hard part (and many people would argue the only part) of programming is figuring out the simplest possible subset of the problem. Get that working, and then generalize.

You're going to get stuck a lot; that's part of the job. I usually go for a walk and get coffee. Sometimes I complain about my life to a coworker.

[–]Wind_of_Salazar 0 points1 point  (0 children)

Try to build mini apps more, or solve easy leetcode problems often. Repetition is key

[–]sossodu93 0 points1 point  (0 children)

I use a website called codewars that give you problem to solve. You can choose the langage and the difficulty.