Question:
Whats the best way to learn coding?
1970-01-01 00:00:00 UTC
Whats the best way to learn coding?
25 answers:
?
2015-03-12 00:06:43 UTC
Practice is the best way to learn coding . . .
Tarek
2015-03-13 00:19:27 UTC
A lot of good information here, but here's the simple truth. (self-taught for 15 years, 5 years college classes) And I tutor this stuff.



For me I built a simple step-by-step approach to learning all this "mystical" programming stuff.



Take the idea of a Variable.



1. Figure out what it does, and what it is. (I normally create some mental connection from it to the real world)

So for a variable, it's a simple box that holds things.



2. Learn how to use it. This relates to how you define, interact, assign values, etc.



3. Spend time with it. This is where you just write code using it over and over, try to make up little projects, or see what various ideas do when you work with this concept.



4. Teach it to someone. I would take someone who knows nothing about it, and have them humor you and explain you want to see how well you know this subject/concept. Most friends are willing to humor us, and in the process they learn something too.



5. be able to explain it in many different ways. The idea here is if the example of a box is not making someone understand it, then try something else like a mailbox, or a shoe box, or a paper bag with a name. Get the idea?





6. Start with another programming concept. Once you know what a "concept" is, how it works, how to interact with it, and could use it with ease, then you're ready to add more tools to the toolbox of programming knowledge.



There is a sea of information on programming, and it's not something we learn in a year. You'll forever be learning about it, so just enjoy the process.



Another tip is to know that all programming languages are 90% the same. The only difference is the syntax. Each is good at different applications, so to really get better at coding you simply have to write code. To write code you have to know what you're trying to do, and so on.



Hope this helps as well.



UPDATED Information:

thenewboston.com is a good place to start, if you want super simple, try code.org
2015-03-11 04:48:35 UTC
The very first step would be to know how Computer Programming works. As a beginner, it is always wise to write a pseudocode which allows easier understanding and planning of writing your simple programs. Pseudocodes are basic lines, written in simple English which illustrate the steps needed to achieve the goal of your program. In that way, you will better understand programming.



Browse through your notes, practice the exercises till you master the concepts. If something is not enough clear, fetch books on programming which help for further understanding. The internet is full of resources too, you can browse the web whenever you have difficulties on some codes.



Think of programming as a fun learning experience, as you will soon be able to develop your own applications. As coding becomes fun, memorizing will not be a matter!



I find http://www.tutorialspoint.com pretty good for basic tutorials on programming. Various number of programming languages can be learned there. Though I was more of a person who studied into books.



- Python Programming: An Introduction to Computer Science [J Zelle]

- Java How to Program [Deitel]



Work through exercises a lot, and I assure you that the syntax would not be a problem at all. The main skill you need to acquire is the programming logic.



Of course you'll probably have to memorize some syntax for the exams, but simply practicing through them would help a lot.



To succeed in writing your programs, you must completely understand what must be the behavior of your program completely, or else part of it will not work at all, or, in some case, the whole of it. Precision is the key here.



When you will write your programs and compile them you will often find that there are errors in your program. You will have to learn how to correct your mistakes in the codes (also known as debugging) by correctly reading the error messages being displayed, and at which line it is occurring. Sometimes it might be easy, sometimes not.



Understanding the basics completely is very important to become successful as a programmer.
2015-03-13 23:20:37 UTC
Best way to focus on learning . . .
Md.Emdadul haque
2015-03-11 05:13:43 UTC
internet tutorial
Mandeep
2015-03-11 04:11:31 UTC
The best way is to practice and lean .. :)
?
2015-03-15 08:20:02 UTC
Consult a constable. They will tell you all sorts of city coding. A medical biller knows about coding too. There are certain codes in OSHA that are industry standard for Unions to follow.
?
2015-03-13 01:59:52 UTC
Tutorial videos help you.
jeet
2015-03-12 12:15:51 UTC
go to w3schools.com this is best
IsWhatIDo
2015-03-11 22:23:23 UTC
A lot of good information here, but here's the simple truth. (self-taught for 15 years, 5 years college classes) And I tutor this stuff.



For me I built a simple step-by-step approach to learning all this "mystical" programming stuff.



Take the idea of a Variable.



1. Figure out what it does, and what it is. (I normally create some mental connection from it to the real world)

So for a variable, it's a simple box that holds things.



2. Learn how to use it. This relates to how you define, interact, assign values, etc.



3. Spend time with it. This is where you just write code using it over and over, try to make up little projects, or see what various ideas do when you work with this concept.



4. Teach it to someone. I would take someone who knows nothing about it, and have them humor you and explain you want to see how well you know this subject/concept. Most friends are willing to humor us, and in the process they learn something too.



5. be able to explain it in many different ways. The idea here is if the example of a box is not making someone understand it, then try something else like a mailbox, or a shoe box, or a paper bag with a name. Get the idea?





6. Start with another programming concept. Once you know what a "concept" is, how it works, how to interact with it, and could use it with ease, then you're ready to add more tools to the toolbox of programming knowledge.



There is a sea of information on programming, and it's not something we learn in a year. You'll forever be learning about it, so just enjoy the process.



Another tip is to know that all programming languages are 90% the same. The only difference is the syntax. Each is good at different applications, so to really get better at coding you simply have to write code. To write code you have to know what you're trying to do, and so on.



Hope this helps as well.



UPDATED Information:

thenewboston.com is a good place to start, if you want super simple, try code.org
Christopher
2015-03-12 05:55:01 UTC
Firstly, you'll want to select a first language to learn. Depending on your goals, I'd recommend Python, Java, or C++ (though Python is almost certainly correct if you're asking on here).



Python is extremely neat, easy to pick up, and lovely looking. However, it won't force you to learn the mid-level things (such as Polymorphism, and Object Oriented Programming) that are essential to modern programming, it's easier to make subtle errors that won't get picked up, and it runs roughly five times slower than C++ (which is much less important than it seems with modern PCs). I'd recommend Python if you want to pick up programming quickly, and don't care too much about the advanced concepts yet.



Java is what they teach first at almost every university across England right now. You can use it to learn almost all of the modern 'tricks' (such as Reflection, Lambda functions etc), and the well developed Exception system means that once you've learned how, finding and fixing errors in your code is almost trivial. However, it's around three times slower than C++ (again, which isn't a big deal), and likes to make you do things manually that really should be automated (like reading files, or loading web pages). It's good to learn if you want to have an almost complete understanding of programming after just one language.



C++ is the old aging workhorse of the programming world. It's probably one of the most powerful languages out there, at the cost of being obtuse, difficult to learn, and unfriendly if you make mistakes. I'd only recommend it if you really care about performance, or want to learn everything about programming at once, and are a *very* quick learner.



So, after deciding to use Python, you'll want to find a tutorial to teach you the absolute basics. Python has an excellent tutorial you can find here: https://docs.python.org/3/tutorial/ , and the other two languages on that list also have (significantly worse) tutorials that you can find by searching. The trick to understanding programming well is now to learn a very small amount, and practice it a lot, then repeat. Even now, having programmed for over twelve years of my life, about half of the code I write consists of 'if', 'for', 'while', basic maths and manipulating variables, and another 40% consists of function calls, regardless of which language I use. Having a good understanding of these is by far the most important part of programming, so take these bits slow, and be sure you completely get it.



Personally, I'd suggest playing about with the language every time you learn a new function. Set yourself challenges that involve that function, and solve them. Once you have the basics down (i.e. section 4, maybe 5, of the Python tutorial) you can start pushing through the Euler challenges at https://projecteuler.net/ for practice. Again, take it slow. Practice. Make sure you completely understand it.



Once you have the basics absolutely nailed, only then should you try to understand Classes, Inheritance, and good Object Oriented Programming practice. It'll revolutionise the way you program, but it requires a complete shift in the way you think, and it'll take a lot of puzzling to understand. Once you understand that, you should select a small project (like a small game, or an MP3 player), and make it using your new experience. The sky's the limit at this point.
?
2016-03-11 02:13:34 UTC
Learn them both. CSS is used to apply a style or theme to a website. For example if you are a busniess who changes there corporate colors you can make a simple change to the CSS coding and this will then apply the new colors across the website. HTML is the main language used on the internet. I would learn this first and then CSS. I would also learn Javascript. As for best way to learn. Well there are plenty of online tutorials or you could enrol on a course.
George
2015-03-12 11:26:23 UTC
Simple answer simple tasks. The best way to learn coding is to learn what goes where for example these symbols here "{}" and "[]" and then you start from something simple, example number 2: try coding villagers in minecraft, it's a pretty good method to learn helped me a lot, if you dont have minecraft try simple things first such as 8 bit coding and then move to the advanced stuff. Hope I helped.
darell g
2015-03-11 19:58:04 UTC
there is this program called scratch that teachers use to teach kids coding and therefore it can help to understand the logic of programming and fuel your moral as to having control of what you want a program to do. I recommend that for beginners. Then you need to learn the basic programming syntaxes for each language and dominate the input output statements and try to get into a specific programming application whether database or web app development.



Then practice and let your imagination fly away!!!
Shirin Khatun
2015-03-13 10:52:33 UTC
The website w3schools is the best way to learn coding
?
2015-03-14 01:26:15 UTC
the best free way?

You could try youtube and teachers record themselves and load the clip to youtube so people that want to learn to code can. and also there is a website that works really good that will walk you through all the steps for free, but I forgot the name of it. its that guy that used to be on youtube
amy
2015-03-12 09:59:31 UTC
The absolute best audit course I've found is produced by Harvard. Sign up for HarvardX: CS50x3 Introduction to Computer Science. You'll learn everything you need to know about the very basics of computer programming and it'll guide you to the next level. https://www.edx.org/
Cogxim
2015-03-17 04:56:59 UTC
More practice makes man perfect. So no matter what you have choose website to learn coding.
Md. Mizanur
2015-03-13 20:50:27 UTC
Join a website they are offering tutorial for coding and practice much to learn coding. You can join w3school for it.
George
2015-03-14 12:44:20 UTC
Complete a online course, read a book, read a more advanced book, pick up a small project (1+c)-week , c>= 0 and code it . repeat last step as many times as you like ..c++;
sag
2015-03-13 04:56:53 UTC
Practice makes a perfect man!
Andy T
2015-03-11 17:55:27 UTC
Actually starting to write it and run it.
Abhishek
2015-03-12 22:46:57 UTC
Do hard work, give your best, you can do any thing..
Suny Megh
2015-03-12 06:07:43 UTC
Just start form c++
Md. Shariful Islam
2015-03-13 09:58:08 UTC
books+thinking+trying+practice...


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...