Best Way to Learn Coding?
Whats the fastest, best and easiest way to learn c++, python, html, java, languages. And do you have any tips how to remember everything i learn? Is there any legit websites to learn it from etc.? Informatiom please :)
First:
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.
Which one is the Best Website Creator?
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
Second:
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.
Third:
If you are old enough to be on the site legitimately then you have been through years of school. Everyone learns differently and you should have an idea of what works best for you. You should know that there are no easy tricks for remembering things.
I generally recommend that people start learning to program with Python, It is a widely used general-purpose, high-level programming language that is relatively simple but very powerful..
You can start with these tutorials. As you read through them, take notes.
http://www.greenteapress.com/thinkpython...
http://docs.python.org/2/tutorial/index....
http://www.tutorialspoint.com/python/
http://learnpythonthehardway.org/book/
When students take exams, of course they have to do some memorization to prepare. But, at a job, programming is an open-book test. You don't have to memorize syntax. You have to understand the concepts, and you gain understanding by writing programs.
You get a general impression of the what's available, so when you do an online search, you have reason to believe you will find it because you've seen it before.
You will know not to search for things like: How do I use Java to turn a penguin into a refrigerator? (That's an exaggeration, but you'll see some questions here that aren't much better.)
Fourth:
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.
Tags: best way to learn python, learn coding, ios app development, learn computer programming, app programming, web design courses, computer programming, how to learn c++, best way to learn coding, learn to code c++, learn coding for free
0 comments:
Post a Comment