Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

How to learn to code? or how do you learn coding?

Hello im wondering how i can learn to code.

I know it sounds silly but would like some advice because.
I have no idea im learning python at the moment but i get stuck
and forget things or what they do i dont know much i can print def functions and simple sockets thats about it.

What is a good method of learning.

read something code what you read?
or just read?
write it down on paper i would like to know how you guys learn coding?
Thanks for the reply i will consider taking this information in and following thank you.
Well, personally, I learn to code because I want to create something. That is the end-product of my coding after all. Don't tell anyone but most of the time when I'm coding, I'm googling. I forget easily and the best way to remember is to Google! I think the best motivation to code, to learn to code is to want to create something. Like my pixel beacon, I wasted a good 8 hours just remembering how to code again since I stopped months ago. So, don't think so much on learning how to code something, but rather, think about what you want to make!

TL:DR; Incentive mate, all you need is incentive and the desire to code an end-product!
Thanks and yes i do google a look but like 2 hours later if im working on something completely different i forget it all
And have to go back and read it again.
Im not sure about line by line being harder than block because python is alot easyer than C or C++ and ive allready done codeacdamey
If you've done codecademy, next step is Udacity. It's a good place to take your basic python to the next level.
How is python "line-by-line"? It has the same exact block structure than any other language. It is just not using useless brackets or shit, but works completely over indentations. I don't see how this can be any harder to learn. In fact it has absolutely no influence on the coding itself as long as you remember to use indentations instead of brackets.

OP keep going on python, it is really a useful language to know and very beginner friendly. Just make sure you practice a lot and dont just read or watch videos, as you can not learn it without trying it 🙂
I dont think python is line by line because it is indent sensitive
for exmaple
Code
S = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
while True:
    try:
      s.connect((192.168.1.1, 80))
      s.send(hello)
    except:
      print "Error connecting to socket
      sys.exit(1)
And Ipersonally think that Santa Clause actually created python, so OP should start with that. You don't wanna upset Santa 😠
To be very honest, it's out of curiosity.
You are curious when you have already figured out what you would do after learning the language. For example, a hacker would like to learn assembly so that he can properly understand bufferoverflows and related stuff. Once you have this figured out, you most probably are going to feel a certain kind of pull, an inclination towards learning more and more of it.
The pull and the aim will also keep you motivated enough to go through it all smoothly.
Best of luck!


Possibly Related Threads...
Thread / Author Replies Views Last Post
by inceptorAug 18, 2025 04:50 PM 13 415 Aug 18, 2025 04:50 PM
Last Post: LOVESOSA098997
by NoteBoxOct 7, 2020 02:00 PM 4 173 Oct 7, 2020 02:00 PM
Last Post: Charger