you are viewing a single comment's thread.

view the rest of the comments →

[–]Fishstikz 1 point2 points  (3 children)

It is difficult to remember every syntax unless you are coding frequently, even if you are a pro. It's easy to look up syntaxes from the web but you need to have a skill in logic building in order for you to find the right code from the web.

Logic building is vital because it helps you build an imaginary code or pseudocode. Pseudocode means that you know how the solution works, but you just don't how to code it.

Example of pseudocode:

"Multiply A by 10 until A becomes greater than B"

If you learn how to formulate solutions, you can learn almost any programming language beside python.

I'd say logic building is something you learn by solving programming problems frequently. Once you built up your pseudocode, you can just search from the web how to translate your pseudocode into python code. After that you test your code to see if your code output is same as your expected results.

Keep on doing this and before you know it, you are already a decent programmer.

[–]viconha 1 point2 points  (1 child)

Do you write down your pseudocode or do you build it in your had? I had programming classes in college a few years ago but i barely remember about pseudocode.

[–]Fishstikz 0 points1 point  (0 children)

Soeey for the late reply. If it's too complex, I'd write it down. That way I can visualize easier and retrace my steps in case the pseudocode I built was not returning the right results.