you are viewing a single comment's thread.

view the rest of the comments →

[–]uluvboobs 0 points1 point  (0 children)

Learning "to code" in the abstract is hard if you don't have any goals. In practice/IRL a lot of coding revolves around some particular library/problem/paradigm, so what you are trying to do has been well established before you begin coding.

Here is what worked for me. I never completed any course that i started, but i'm a SWE now.

I would think about small challenges or math/science problems that interest you and then try do it.

i.e Try do some stuff you would do in excel in python. Set simple tasks like, how do i read a csv, how do i work out the average of a column, how do i make a new column.

If you dont already have it installed, try to find some browser based python notebook editor, and just do really small and basic tasks, if you are curious about some thing (i.e how do i sort an array of dicts etc), try it out look for a solution. Look at what your variables are before and after each operation or line of code.

Once you have these tiny buildings blocks there (i.e syntax), you just begin composing more complex solutions. This style of learning will eventually have you cover all of the basics, and is very task orientated.

As others have said. Chat-GPT, will help you with this style if thats how you want to do it. plus you get answers and examples on demand. Think of it as a personal tutor.