|Join Nairaland / LOGIN! / Trending / Recent / New|
Stats: 1,914,210 members, 3,921,296 topics. Date: Sunday, 19 November 2017 at 03:24 PM
|Teach Yourself To Code by hobyner(m): 7:08am On Sep 13|
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.
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)
print("Incorrect second value!" )
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.
Python – Multipurpose programming language that emphasizes readability and is used by Facebook, Google and YouTube.
Ruby – A high level programming language that is used with Ruby on Rails Framework to develop web applications.
Difficulty: Fairly Easy
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).
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
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
• The C++ programming language by Bjarne Stroustrup
• PHP and MySQL for Dummies by Janet Valade
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.
1 Like 1 Share
|Re: Teach Yourself To Code by DjAndroid: 7:44am On Sep 13|
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|
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|
hobyner: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|
DjAndroid: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|
hobyner:OK. I WILL NEED THEM, HOW WILL I GET THEM? THANKS
|Re: Teach Yourself To Code by hobyner(m): 8:53am On Sep 13|
DjAndroid: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 �
|Re: Teach Yourself To Code by DjAndroid: 9:23am On Sep 13|
hobyner:THANK YOU SO MUCH
|Re: Teach Yourself To Code by Nosainwe(m): 9:29pm On Sep 13|
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
just wondering is the rite choice for a beginer
|Re: Teach Yourself To Code by hobyner(m): 10:43am On Sep 14|
Nosainwe: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|
but was also thinking of going into python
since most websites recommend it for absolute beginners,its the easiest to learn
|Re: Teach Yourself To Code by hobyner(m): 11:03am On Sep 14|
Nosainwe: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|
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|
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
|Re: Teach Yourself To Code by Alphaman007: 12:45pm On Sep 14|
iyamchee: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...
|Re: Teach Yourself To Code by classicdude1(m): 1:27pm On Sep 14|
you can learn Python at www.coolpythoncodes.com
|Re: Teach Yourself To Code by hobyner(m): 1:54pm On Sep 14|
Alphaman007: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.
|Re: Teach Yourself To Code by hobyner(m): 1:59pm On Sep 14|
iyamchee: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|
Nosainwe: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.
|Re: Teach Yourself To Code by amadgreat: 2:34pm On Sep 14|
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?
|Re: Teach Yourself To Code by greatface(m): 5:20pm On Sep 14|
Nosainwe: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.
|Re: Teach Yourself To Code by Nosainwe(m): 7:40pm On Sep 14|
|Re: Teach Yourself To Code by Nosainwe(m): 7:42pm On Sep 14|
greatface:tanx alot bro,i will make my choice once i get back to my laptop.GOD BLESS
|Re: Teach Yourself To Code by hobyner(m): 5:59am On Sep 15|
|Re: Teach Yourself To Code by hobyner(m): 6:04am On Sep 15|
amadgreat: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|
|Re: Teach Yourself To Code by iyamchee(m): 8:03am On Sep 15|
settling on C for now
|Re: Teach Yourself To Code by greatface(m): 10:44am On Sep 15|
Nosainwe:Practice and Persistence, two things you shouldn't overlook if you will excel.
|Re: Teach Yourself To Code by proxy20: 1:12pm On Sep 15|
|Re: Teach Yourself To Code by DjAndroid: 9:07am On Sep 16|
If you want w3schools for offline use, Android or desktop, here is my Dropbox link.
|Re: Teach Yourself To Code by kennyjam: 2:44pm On Sep 16|
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!
|Re: Teach Yourself To Code by kennyjam: 2:46pm On Sep 16|
bro am in the same shoe with you
|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
Nairaland - Copyright © 2005 - 2017 Oluwaseun Osewa. All rights reserved. See How To Advertise. 203