Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,143,281 members, 7,780,641 topics. Date: Thursday, 28 March 2024 at 06:22 PM

Teach Yourself To Code - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Teach Yourself To Code (9394 Views)

Teach Yourself Javascript For Absolute Beginners / 10 Ways To Teach Yourself To Code / Hot!!! How To Learn To Code Using Your Android Device (2) (3) (4)

(1) (2) (3) (Reply) (Go Down)

Teach Yourself To Code by hobyner(m): 7:08am On Sep 13, 2017
A lot people have this idea that writing computer code is complex, confusing and hard to understand, but so is a lot of things in this life. Only with much learning and practice do things become easy for us. You can teach yourself how to code and I recommend you start one language at a time and you practice consistently.

I began coding in summer 2010; I had just completed 100 level from a Ajayi Crowther University and was on that sweet long break. Although I had failed 2 courses that 100 level and needed to attend summer to re-sit the courses, I stayed at home and fell in love with programming. By the end of the summer break I had taught myself HTML, CSS, PHP and MySQL. When I resumed school 200 level I created a website similar to Olx from scratch solely for my school (www.droparena.com)– one of my failed entrepreneurial exploits.

Now I major in C#, HTML, PHP & SQL. Although I can code in python, php, JavaScript, java, C#, HTML. I don't remember every syntax for these languages but I understand them I.e if you were to wake me up at midnight and ask me to write this:

One = int(input("Type a number between 1 and 10: " ))
Two = int(input("Type a number between 1 and 10: " ))

if (One >= 1) and (One <= 10 ) :
if (Two >= 1) and (Two <= 10 ) :
print("Your secret number is: ", One * Two)
else:
print("Incorrect second value!" )
else:
print("Incorrect first value!" )


It would be difficult but if you ask me to explain it; piece of cake.

It's a conditional statement in Python that makes use of multiple ‘if or else statements’. One & Two are variables gotten from users input. The 1st If checks that One is a number between 1 & 10. If One meets this criteria, the program proceeds to the 2nd If which also checks that Two is a number between 1 & 10.
If One & Two match both conditions stated then the program multiplies One and Two, then outputs the result. Else if One or Two don't match the conditions stated then the program outputs either “incorrect first value!” or “incorrect second value!”.

Learning starts with interest, you have to fall in love with writing computer programs because without interest, it's hard to pay attention. You don't need to memorize every syntax of every language. You can start with practicing and understanding one language. Below are a couple programming languages you can start with and resources to help you.


Languages

Python – Multipurpose programming language that emphasizes readability and is used by Facebook, Google and YouTube.
Difficulty: Easy.

Ruby – A high level programming language that is used with Ruby on Rails Framework to develop web applications.
Difficulty: Fairly Easy

JavaScript – Programming language for making web pages and websites alongside HTML/CSS – most popular language.
Difficulty: Fairly Easy

Java – General purpose and cross platform programming language. Originally called Oak, name after a tree outside it's inventors window (James Gosling).
Difficulty: Moderate

C/C++ - Programming language used for system and application software. C++ was originally an extension of C and is commonly used for gaming development.
Difficulty: Moderate to Difficult


Websites Where You Can Learn To Code

Codecademy: most popular free platform for learning code with 24+ million users. Free. www.codecademy.com

Treehouse: has ‘tracks’ to help guide you towards the right coding path for the right job. Has 100,000+ active users. 14 days free trial then £16 a month. www.teamtreehouse.com

Udemy: offers experts the chance to upload their courses for a tuition fee or for free. 7 million+ users enrolled. Fees vary. www.udemy.com

Codeschool: uses screencasts and interactive exercises. Boasts of 1 million+ enrolled users. £19 a month. www.codeschool.com



Must Reads
These resources are good for learning the basics through to intermediate levels with video tutorials and helpful forums. Code specific books can help you with a particular language once you have started but reading has its limit. You won't find out if you enjoy programming until you start practicing yourself. You can start with an easy language like python.

• Learn Python the Hard Way by Zed A Shaw
• JavaScript: The Good Parts by Douglas Crockford
• The C++ programming language by Bjarne Stroustrup
• PHP and MySQL for Dummies by Janet Valade


Essential Bookmarks
These websites can provide you a network of support from the programming community if you have any questions to ask. You can also use GitHub as a source of inspiration by learning from other programmer’s coding as well as gaining your own experience working on open source projects.

• GitHub www.github.com
• StackOverflow www.stackoverflow.com
• StackExchange www.stackexchange.com
• Quora www.quora.com

Thanks for reading and don't hesitate to leave questions. I’ll be glad to answer them. Also be sure to register online for my Web Design With WordPress WorkShop https://drag.com.ng/web-design-workshop/ Workshop begins 7th October 2017.

4 Likes 3 Shares

Re: Teach Yourself To Code by DjAndroid: 7:44am On Sep 13, 2017
HOW EASY IS C#? I DOWNLOADED THE TUTORIAL AND ABOUT TO START.
Re: Teach Yourself To Code by hobyner(m): 7:58am On Sep 13, 2017
DjAndroid:
HOW EASY IS C#? I DOWNLOADED THE TUTORIAL AND ABOUT TO START.

Moderate to difficult & if you already know Java, c or c++ you should find c# easy. I code c# with Visual Studio 2015 & thanks to MVC (model-view-controller) Framework, a lot of the codes have been pre-written.
Re: Teach Yourself To Code by DjAndroid: 8:02am On Sep 13, 2017
hobyner:


Moderate to difficult & if you already know Java, c or c++ you should find c# easy. I code c# with Visual Studio 2015 & thanks to MVC (model-view-controller) Framework, a lot of the codes have been pre-written.
THANKS. BUT WHICH PRECISELY DO YOU SUGGEST I LEARN FIRST BEFORE STARTING C#?
Re: Teach Yourself To Code by hobyner(m): 8:22am On Sep 13, 2017
DjAndroid:
THANKS. BUT WHICH PRECISELY DO YOU SUGGEST I LEARN FIRST BEFORE STARTING C#?
Start C# right away, it's worth it & you'll enjoy it. You can even build cool apps and games that run on your windows 8 or 10 OS. don't beat around the bush. Here are 2 good pdfs resources to guide you. Let me know if you need them & I can share with you via Dropbox.

Re: Teach Yourself To Code by DjAndroid: 8:29am On Sep 13, 2017
hobyner:

Start C# right away, it's worth it & you'll enjoy it. You can even build cool apps and games that run on your windows 8 or 10 OS. don't beat around the bush. Here are 2 good pdfs resources to guide you. Let me know if you need them & I can share with you via Dropbox.
OK. I WILL NEED THEM, HOW WILL I GET THEM? THANKS
Re: Teach Yourself To Code by hobyner(m): 8:53am On Sep 13, 2017
DjAndroid:
OK. I WILL NEED THEM, HOW WILL I GET THEM? THANKS
Here's a link to the first PDF on my Dropbox https://www.dropbox.com/s/btk52k8pm716o6v/hfcsharp_free_book.pdf?dl=0 I'll upload the second and share during the day. Cheers �

2 Likes

Re: Teach Yourself To Code by DjAndroid: 9:23am On Sep 13, 2017
hobyner:
Here's a link to the first PDF on my Dropbox https://www.dropbox.com/s/btk52k8pm716o6v/hfcsharp_free_book.pdf?dl=0 I'll upload the second and share during the day. Cheers �
THANK YOU SO MUCH
Re: Teach Yourself To Code by Nosainwe(m): 9:29pm On Sep 13, 2017
Am following bro nice work
i started html last month
i hv read abt 30 pages of d book html for dummies
i can now actually create a plain text only webpage
bt due to some reasons i hv been of coding
i had zero knwledge
a noob
just wondering is the rite choice for a beginer

2 Likes

Re: Teach Yourself To Code by hobyner(m): 10:43am On Sep 14, 2017
Nosainwe:
Am following bro nice work
i started html last month
i hv read abt 30 pages of d book html for dummies
i can now actually create a plain text only webpage
bt due to some reasons i hv been of coding
i had zero knwledge
a noob
just wondering is the rite choice for a beginer
Keep it up bro. I learnt HTML from www.w3schools.com and it was the first programming or scripting language I ever learnt. Good job
Re: Teach Yourself To Code by Nosainwe(m): 10:59am On Sep 14, 2017
hobyner:

Keep it up bro. I learnt HTML from www.w3schools.com and it was the first programming or scripting language I ever learnt. Good job
aiit bro
but was also thinking of going into python
since most websites recommend it for absolute beginners,its the easiest to learn

1 Like

Re: Teach Yourself To Code by hobyner(m): 11:03am On Sep 14, 2017
Nosainwe:
aiit bro
but was also thinking of going into python
since most websites recommend it for absolute beginners,its the easiest to learn
With python, the possibilities are endless. And most organizations are looking for good python coders. It's worth learning.
Re: Teach Yourself To Code by Nosainwe(m): 11:07am On Sep 14, 2017
hobyner:

With python, the possibilities are endless. And most organizations are looking for good python coders. It's worth learning.
tanks sir,
i will try looking into it.
But sir can u expanciate the possibilities bcus i hv a hard time relating programming to real life situation here in nigeria (where would these skills be useful)
Re: Teach Yourself To Code by iyamchee(m): 11:40am On Sep 14, 2017
Bruh, I am foolishly beating around the bush....
I started with Logo, Dumped it, Picked up PureBasic, Dumped it, I'm struggling with C right now....
I just read Javanian's article and I think I'll prefer learning java now....
Also, I have absolutely no idea what I am doing...
I'm just following steps and instructions and I don't understand....
When will I start understanding what I'm doing oh.... Please help

3 Likes

Re: Teach Yourself To Code by Alphaman007: 12:45pm On Sep 14, 2017
iyamchee:
Bruh, I am foolishly beating around the bush....
I started with Logo, Dumped it, Picked up PureBasic, Dumped it, I'm struggling with C right now....
I just read Javanian's article and I think I'll prefer learning java now....
Also, I have absolutely no idea what I am doing...
I'm just following steps and instructions and I don't understand....
When will I start understanding what I'm doing oh.... Please help
lol bro we're in the same shoes o and I thought I was the only one... Well you have to keep trying.. Its challenging to start but once you start.. Believe me, you'll atsrt enjoying it, I'm learning Android development right now.. Just finished with xml and I'm entering Java soonest... Try to motivate yourself to start bro...

1 Like

Re: Teach Yourself To Code by classicdude1(m): 1:27pm On Sep 14, 2017
you can learn Python at www.coolpythoncodes.com

2 Likes

Re: Teach Yourself To Code by hobyner(m): 1:54pm On Sep 14, 2017
Alphaman007:
lol bro we're in the same shoes o and I thought I was the only one... Well you have to keep trying.. Its challenging to start but once you start.. Believe me, you'll atsrt enjoying it, I'm learning Android development right now.. Just finished with xml and I'm entering Java soonest... Try to motivate yourself to start bro...
Exactly! Keep trying. If you do something long enough it will become routine & your brain would do it on auto-pilot. You'll be surprised the day you wake up & it feels like you understand all these code, but it will only happen because you kept trying.

2 Likes

Re: Teach Yourself To Code by hobyner(m): 1:59pm On Sep 14, 2017
iyamchee:
Bruh, I am foolishly beating around the bush....
I started with Logo, Dumped it, Picked up PureBasic, Dumped it, I'm struggling with C right now....
I just read Javanian's article and I think I'll prefer learning java now....
Also, I have absolutely no idea what I am doing...
I'm just following steps and instructions and I don't understand....
When will I start understanding what I'm doing oh.... Please help
At least you doing something, keep it up. In my opinion I think you should decide on a language & try to build something people can use and give you feedback. This will keep you focused on one task & 1 language
Re: Teach Yourself To Code by hobyner(m): 2:07pm On Sep 14, 2017
Nosainwe:
tanks sir,
i will try looking into it.
But sir can u expanciate the possibilities bcus i hv a hard time relating programming to real life situation here in nigeria (where would these skills be useful)
Python is robust. It can be used to build web apps, mobile apps, desktop apps & games. My cousin who's based in USA can only code in python & I mean it, he doesn't know any other language. He has a cool job with a gaming company & collects 6 figures annually. There are companies looking for good programmers in Nigeria as well bro.

1 Like

Re: Teach Yourself To Code by amadgreat: 2:34pm On Sep 14, 2017
Goodday bro please I really want to start coding,but my issue is that I don't know anything about it. infact I really want to learn and I am very sure if I get some one to put me tru I will get to love it more,so what do you suggest I should do?

hobyner:
A lot people have this idea that writing computer code is complex, confusing and hard to understand, but so is a lot of things in this life. Only with much learning and practice do things become easy for us. You can teach yourself how to code and I recommend you start one language at a time and you practice consistently.

I began coding in summer 2010; I had just completed 100 level from a Ajayi Crowther University and was on that sweet long break. Although I had failed 2 courses that 100 level and needed to attend summer to re-sit the courses, I stayed at home and fell in love with programming. By the end of the summer break I had taught myself HTML, CSS, PHP and MySQL. When I resumed school 200 level I created a website similar to Olx from scratch solely for my school (www.droparena.com)– one of my failed entrepreneurial exploits.

Now I major in C#, HTML, PHP & SQL. Although I can code in python, php, JavaScript, java, C#, HTML. I don't remember every syntax for these languages but I understand them I.e if you were to wake me up at midnight and ask me to write this:

One = int(input("Type a number between 1 and 10: " ))
Two = int(input("Type a number between 1 and 10: " ))

if (One >= 1) and (One <= 10 ) :
if (Two >= 1) and (Two <= 10 ) :
print("Your secret number is: ", One * Two)
else:
print("Incorrect second value!" )
else:
print("Incorrect first value!" )


It would be difficult but if you ask me to explain it; piece of cake.

It's a conditional statement in Python that makes use of multiple ‘if or else statements’. One & Two are variables gotten from users input. The 1st If checks that One is a number between 1 & 10. If One meets this criteria, the program proceeds to the 2nd If which also checks that Two is a number between 1 & 10.
If One & Two match both conditions stated then the program multiplies One and Two, then outputs the result. Else if One or Two don't match the conditions stated then the program outputs either “incorrect first value!” or “incorrect second value!”.

Learning starts with interest, you have to fall in love with writing computer programs because without interest, it's hard to pay attention. You don't need to memorize every syntax of every language. You can start with practicing and understanding one language. Below are a couple programming languages you can start with and resources to help you.


Languages

Python – Multipurpose programming language that emphasizes readability and is used by Facebook, Google and YouTube.
Difficulty: Easy.

Ruby – A high level programming language that is used with Ruby on Rails Framework to develop web applications.
Difficulty: Fairly Easy

JavaScript – Programming language for making web pages and websites alongside HTML/CSS – most popular language.
Difficulty: Fairly Easy

Java – General purpose and cross platform programming language. Originally called Oak, name after a tree outside it's inventors window (James Gosling).
Difficulty: Moderate

C/C++ - Programming language used for system and application software. C++ was originally an extension of C and is commonly used for gaming development.
Difficulty: Moderate to Difficult


Websites Where You Can Learn To Code

Codecademy: most popular free platform for learning code with 24+ million users. Free. www.codecademy.com

Treehouse: has ‘tracks’ to help guide you towards the right coding path for the right job. Has 100,000+ active users. 14 days free trial then £16 a month. www.teamtreehouse.com

Udemy: offers experts the chance to upload their courses for a tuition fee or for free. 7 million+ users enrolled. Fees vary. www.udemy.com

Codeschool: uses screencasts and interactive exercises. Boasts of 1 million+ enrolled users. £19 a month. www.codeschool.com



Must Reads
These resources are good for learning the basics through to intermediate levels with video tutorials and helpful forums. Code specific books can help you with a particular language once you have started but reading has its limit. You won't find out if you enjoy programming until you start practicing yourself. You can start with an easy language like python.

• Learn Python the Hard Way by Zed A Shaw
• JavaScript: The Good Parts by Douglas Crockford
• The C++ programming language by Bjarne Stroustrup
• PHP and MySQL for Dummies by Janet Valade


Essential Bookmarks
These websites can provide you a network of support from the programming community if you have any questions to ask. You can also use GitHub as a source of inspiration by learning from other programmer’s coding as well as gaining your own experience working on open source projects.

• GitHub www.github.com
• StackOverflow www.stackoverflow.com
• StackExchange www.stackexchange.com
• Quora www.quora.com

Thanks for reading and don't hesitate to leave questions. I’ll be glad to answer them. Find similar articles on my website www.drag.com.ng.

1 Like

Re: Teach Yourself To Code by greatface(m): 5:20pm On Sep 14, 2017
Nosainwe:
aiit bro
but was also thinking of going into python
since most websites recommend it for absolute beginners,its the easiest to learn
Python is a good language to work with. I have nothing to show for it now but am still marvelled at what I have put in place in my device.

html is a markup language and I recommend you go with it first as it is easier to learn. W3Schools is great and you can get the whole of it for offline use.

If you choose to go the python route, remember to stick to one field as switching fields without mastering one will delay your learning time and might likely frustrate you.

1 Like

Re: Teach Yourself To Code by Nosainwe(m): 7:40pm On Sep 14, 2017
hobyner:

Python is robust. It can be used to build web apps, mobile apps, desktop apps & games. My cousin who's based in USA can only code in python & I mean it, he doesn't know any other language. He has a cool job with a gaming company & collects 6 figures annually. There are companies looking for good programmers in Nigeria as well bro.
tanx bro

1 Like

Re: Teach Yourself To Code by Nosainwe(m): 7:42pm On Sep 14, 2017
greatface:
Python is a good language to work with. I have nothing to show for it now but am still marvelled at what I have put in place in my device.

html is a markup language and I recommend you go with it first as it is easier to learn. W3Schools is great and you can get the whole of it for offline use.

If you choose to go the python route, remember to stick to one field as switching fields without mastering one will delay your learning time and might likely frustrate you.
tanx alot bro,i will make my choice once i get back to my laptop.GOD BLESS

1 Like

Re: Teach Yourself To Code by hobyner(m): 5:59am On Sep 15, 2017
greatface:
Python is a good language to work with. I have nothing to show for it now but am still marvelled at what I have put in place in my device.

html is a markup language and I recommend you go with it first as it is easier to learn. W3Schools is great and you can get the whole of it for offline use.

If you choose to go the python route, remember to stick to one field as switching fields without mastering one will delay your learning time and might likely frustrate you.

Nice.

1 Like

Re: Teach Yourself To Code by hobyner(m): 6:04am On Sep 15, 2017
amadgreat:
Goodday bro please I really want to start coding,but my issue is that I don't know anything about it. infact I really want to learn and I am very sure if I get some one to put me tru I will get to love it more,so what do you suggest I should do?

Just start. You can pick HTML as your starting point because you can practice it on pc and mobile phone, online and offline. There are cool HTML coding apps you can download on your phone to help you practice and you can also practice at w3schools.com anytime and anywhere. Consistently practicing will get you there. Thanks.
Re: Teach Yourself To Code by iyamchee(m): 8:02am On Sep 15, 2017
Alphaman007:
lol bro we're in the same shoes o and I thought I was the only one... Well you have to keep trying.. Its challenging to start but once you start.. Believe me, you'll atsrt enjoying it, I'm learning Android development right now.. Just finished with xml and I'm entering Java soonest... Try to motivate yourself to start bro...
thanks bruh grin grin

1 Like

Re: Teach Yourself To Code by iyamchee(m): 8:03am On Sep 15, 2017
hobyner:

At least you doing something, keep it up. In my opinion I think you should decide on a language & try to build something people can use and give you feedback. This will keep you focused on one task & 1 language
okay boss....
settling on C for now
Re: Teach Yourself To Code by greatface(m): 10:44am On Sep 15, 2017
Nosainwe:
tanx alot bro,i will make my choice once i get back to my laptop.GOD BLESS
Practice and Persistence, two things you shouldn't overlook if you will excel.

1 Like

Re: Teach Yourself To Code by Nobody: 1:12pm On Sep 15, 2017
greatface:
Practice and Persistence, two things you shouldn't overlook if you will excel.


yes...

1 Like

Re: Teach Yourself To Code by DjAndroid: 9:07am On Sep 16, 2017
If you want w3schools for offline use, Android or desktop, here is my Dropbox link.
https://www.dropbox.com/sh/yxtpqpx6srzsg4u/AACaaVzhkGU-TFCvAU626-8fa?dl=0

1 Like

Re: Teach Yourself To Code by kennyjam: 2:44pm On Sep 16, 2017
hobyner, greetings Bro and Others in the house.

I am not even a beginner because I haven't started anything. When I here of programming, people calling and deciding which language is simple, used for this and that, it freaks me because I have Zero Knowledge on it generally.

I need help on what to install in the PC, how to go about it, where to get it and how to start programming with the easiest language before proceeding to a higher one.

Thanks In anticipation!

1 Like

Re: Teach Yourself To Code by kennyjam: 2:46pm On Sep 16, 2017
amadgreat:
Goodday bro please I really want to start coding,but my issue is that I don't know anything about it. infact I really want to learn and I am very sure if I get some one to put me tru I will get to love it more,so what do you suggest I should do?





bro am in the same shoe with you

1 Like

(1) (2) (3) (Reply)

Definitive Link To A List Of More Than 500 Free Ebooks. / Using Finger Print Scanner On PHP / Learn Python- Introduction To Programming

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 69
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.