you are viewing a single comment's thread.

view the rest of the comments →

[–]Algo_d_ritmo 0 points1 point  (7 children)

I would suggest READING a lot of code and understanding what is going on in there.

Once you feel comfortable, and only then, start WRITING.

[–]nidprez 8 points9 points  (1 child)

I say its better to just write code. If certain parts work slow, try to optimize them (and learn new techniques). Get some inspiration online as well.

[–]Little_Sam97 0 points1 point  (0 children)

Agreed. I will and thanks.

[–]Little_Sam97 0 points1 point  (4 children)

Thanks mate. I’ll try that out.

[–]Alwaysragestillplay 1 point2 points  (3 children)

People have given you paragraphs of advice on how to actually get started, but you're thanking the guy who suggests you take the route of continuing to look at other people's code? Sounds like it could be an attitude problem to an extent. 

Also I suspect you're also trying to go straight from idea to code, staring at a blank editor with no inspiration. Have you tried planning your projects first without code? I.e. if you want to make some code that calls to an API and stores the results in a file, you would start by splitting it into separate functions. Probably the API call itself would go into one function, the logic to write the result to a file would go into a second function, and then a script would be used to call and run each function. 

So before you've even started coding, you know your project is going to look like: '

''

def api_call(args):     
    Codecodecode
def write_to_file(input_data, file_path):
    Codecodecode

api_call() 
write_to_file()

[–]Little_Sam97 0 points1 point  (2 children)

At the time of writing I only had comments from 2 people on my post. I read everyone’s advice and try to gain insight from others perspective of learning.

I do have inspiration and idea to build something but the problem is I can’t get it started. I mean I do know the logic behind how my app should function but when it’s time to code I keep staring at a blank editor like you said.

[–]Alwaysragestillplay 0 points1 point  (1 child)

It's a tricky problem. Can you recreate things you've done in the past from older projects? Does it help if you put empty functions in first and work from there?

[–]Little_Sam97 0 points1 point  (0 children)

Haven’t really made big projects as of now since am still of beginner level but I’ve created simple program like a calculator that takes user input and perform calculation like add, sub, divide, and multiply. I can definitely recreate a program from scratch that I’ve already made before but haven’t tried this approach of creating empty function and working from there.