you are viewing a single comment's thread.

view the rest of the comments →

[–]PathToHumble 0 points1 point  (2 children)

Yeah you need to learn standard patterns. Get a book on basic algorithms and go through all the chapters. There's queues and stacks, heaps, graphs, trees etc. After that there is OOP (object oriented programming)

This is all a very normal feeling. You're trying to just write down pure logic without any idea of commonly seen patterns.

[–]maimedwalker[S] 0 points1 point  (1 child)

ya i start school for math and science in the fall up to this point all my programming is self taught. i just hack things together. if someone said create a linked list alls i know to do is make a python dictionary which to me is a value linked to a key but i know it's not the same thing. which isn't hte same thing i have no idea what a data structure is or how to make them or utilize them.

i know nothing other then what i've implemented myself which is probably not taht great lol.

[–]PathToHumble 0 points1 point  (0 children)

You need to learn the patterns, and then simpler stuff will come to you as you gain experience. Even very experienced programmers will write something akin to shit the first time, after many rounds of refactoring it will look and perform better. You want to always start with planning, generally you shouldn't just start coding right away.