Jump to content

Tough time learning how to code.

zenix12

Guys... i'm having a hard time grasping programming. I've set a goal to know how to code by the end of december and i'd like to meet that goal. So with that said, any suggestions and tips?

Link to comment
Share on other sites

Link to post
Share on other sites

depends on what programming language your'e learning. right now im learning html/css on codecademy, ive understood it all for the most part :)

Case: NZXT Phantom PSU: EVGA G2 650w Motherboard: Asus Z97-Pro (Wifi-AC) CPU: 4690K @4.2ghz/1.2V Cooler: Noctua NH-D15 Ram: Kingston HyperX FURY 16GB 1866mhz GPU: Gigabyte G1 GTX970 Storage: (2x) WD Caviar Blue 1TB, Crucial MX100 256GB SSD, Samsung 840 SSD Wifi: TP Link WDN4800

 

Donkeys are love, Donkeys are life.                    "No answer means no problem!" - Luke 2015

 

Link to comment
Share on other sites

Link to post
Share on other sites

Supposedly the best way to learn it is to do it on the go.

What language are you learning?

Link to comment
Share on other sites

Link to post
Share on other sites

I've started learning Js from Kahn Acdemy, and I have to say their stuff is really professional, and I'm actually learning.

Link to comment
Share on other sites

Link to post
Share on other sites

Yeah, I reckon trial and error, especially using stepped code running will show you what exactly the code does at each step to help you see any errors or bugs

Link to comment
Share on other sites

Link to post
Share on other sites

I've set a goal to know how to code by the end of december and i'd like to meet that goal.

This makes no sense. There is no particular point where you know how to code, or not know how to code.

 

If you just care about knowing how to code, then just do this:

print ("Hello world.")

And you're done. Now you know how to code.

 

If you're trying to learn more than just how to code, you will never finish. Even professional programmers who have been programming for 30 years are not done learning how to code, because of the infinite amount of material there is to know.

 

So you might want to rethink your goal and maybe set something a little more specific, like making a program that will play hangman or something. Something more realistic.

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to comment
Share on other sites

Link to post
Share on other sites

Hmm rethink your goals, that's quite broad. Are you having a hard time because of the syntax or the way you put your logic?

 

If it's the latter, you'll need some good problems with that, try ProjectEuler, still doing it until now. More on math challenges which means lots of algorithms == lots of logic involved. I learned to appreciate data structure and speed because of that site, there are a lot of good problems there.

 

If syntax is your problem, you might wanna read the book you're using to learn the language and understand it especially pointers/references. Try not to skip also the problem challenges if there's one. I'm self-taught and I used the "Jumping Into C++" book and there are problems that will make you think and scratch your head (well, hard because I was still learning that time) on every end of the chapter that can/will be reused in the future chapters so you can appreciate and see the differences of the techniques you can use like Inheritance, Polymorphism, etc...

| CPU: Ryzen 5 3600 | MoBo: MSI B450 Tomahawk Max | RAM: T-Force Delta RGB (2x8) 16GB 3200MHz (Black) | GPU: Gigabyte GTX 1660 Ti OC | Case: NZXT H500 (Black) | HDD: WD Black 2TB + Seagate Barracuda 4TB | SSD: Crucial MX500 2TB | PSU: Seasonic GX-550 | Monitor: 3x Asus VC239H |

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

I'm with @ZeferiniX on this one.
Maybe this will help:
tip. You can get the book on amazon for more detailed info.It worked for me Learning Python

Link to comment
Share on other sites

Link to post
Share on other sites

You have to do it to understand it. It's like learning a second language. You have to speak it I order to speak it. That said. I can read code just fine but as far as recreating it I can not.

CM Storm Switch Tester MOD (In-Progress) - http://linustechtips.com/main/topic/409147-cm-storm-switch-tester-macro-mod/


       Ammo Can Speaker 02 (Completed) - http://linustechtips.com/main/topic/283826-ammo-can-speakers-02/       A/B Switch V 0.5 (Completed) - http://linustechtips.com/main/topic/362417-ab-switch-v0


     Build 01 - The Life of a Prodigy -  http://linustechtips.com/main/topic/13103-build-01-the-life-of-a-prodigy/             Build 02 - Silent Server 3000 - http://linustechtips.com/main/topic/116670-build-02-silent-server-3000/

Link to comment
Share on other sites

Link to post
Share on other sites

1. What are you trying to learn?

2. Narrow down your goals to be more measurable. Picking specific topics from a programming language, for example.

3. Practice constantly.

4. Watch videos on the language.

5. Read blogs discussing the language.

 

Get the basics down and then do steps 3-5 as much as you can.

 

I'm currently learning front-end and back-end development between now and January but I've separated monthly large topics (like html, css, javascript, ruby, rails) and then weekly sub-topics (html5 layout, css3, sass, jquery, etc). Be organized and expose yourself to the subject in as many ways you can: videos, blogs, books, interactive tutorials, quizzes, the internet is filled with options.

[spoiler=pc specs:]cpu: i5-4670k | mobo: z87-pro | cpu cooler: h100i | ram: 8gb vengeance pro | gpu: gtx770 ftw 4gb | case: nzxt switch 810 matte black | storage: 240gb ssd; 1tb hdd | psu: 750w corsair rm |
keyboards: max nighthawk x8 mx brown + blue led; corsair k60 mx red; ducky shine 3 tkl mx blue + orange led | mouse: deathadder black edition | audio: FiiO E10; sennheiser hd558; grado sr80i; sony mdr-nc200d; blue snowball |

Link to comment
Share on other sites

Link to post
Share on other sites

OP is joking right? by december? you are not learning basic cooking.programming takes years to "Know how to code" which means you could write any type of program anytime,without asking yourself what the hell am i doing when you have to do a new project.

So i wrote a simple program myself in C# with WinForms interface that does lots of registry changes and installs tweaks,that would mean i already know how to code and im a programmer right? hell no not even close,and it took a lot of time to understand.

Link to comment
Share on other sites

Link to post
Share on other sites

I would suggest starting with c# or java. They are quite similar and give a nice foundation for anything you put on top of it. For c# just go on YouTube and find Barnacles' Codegasm series. they're nice and should get you started quite well. for java just try and find some good videos on YouTube. Once you get those down learning and building upon them with other languages should be significantly easier.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×