$3 Per Year Web Hosting

Tuesday, 2 February 2016

How to Start Learning Computer Programming

Programming is lots of fun and extraordinarily useful. It allows you be creative and also opens up a wide range of new careers for you. If you want to learn how to program, read the tutorial below for an explanation of where to go and what to study.

EditSteps

EditChoosing a Language

  1. Choose a programming language. Computer programming is done as essentially a set of written instructions that the computer follows (also known as binary coding). These instructions can be written in a number of different "languages", or which are simply different ways of organizing the instructions and text. Different languages tend to be used to create different types of programs, however, so choose a language that you feel is relevant to what you want to do. If you decide that a language does not suit your needs, you can always move on to a new language.
    Start Learning Computer Programming Step 1 Version 4.jpg
  2. Consider C, C++, C# and related languages. These languages are mainly used for creating standalone computer applications such as games. C and C++ are difficult languages to learn for a beginner, but not impossible. Learning them will give you an in depth understanding of not only programming (most programming languages inherit some concept or the other from C and C++), but also of how a computer works. They are popular and widely used, though C#, a language very similar to Java, is starting to become much more common.
    Start Learning Computer Programming Step 2 Version 4.jpg
  3. Consider Java or JavaScript. These are good languages to learn if you want to work on making web plugins (JavaScript) or mobile apps (Java). These languages are very much in demand right now, so they are handy to know. Keep in mind that Java and JavaScript are completely different languages, despite the similarity in names.
    Start Learning Computer Programming Step 3 Version 4.jpg
  4. Try Python. Python is a very versatile language used widely across several platforms. Despite being extremely powerful, it is an easy language for a beginner to pick up, so give it a try!
    Start Learning Computer Programming Step 4 Version 3.jpg
  5. Consider PHP. PHP stands for PHP: Hypertext Processor. It is a web programming language and relatively easy to learn due to its weak typing and popularity (popularity means there will be several useful tutorials on the language). It is a great language for server side programming.
    Start Learning Computer Programming Step 5 Version 3.jpg
  6. Don't limit yourself to these languages! There are tons of programming languages, all with varying uses. If you want to work as programmer, you will definitely need to know more than one, so learn as many as you can.
    Start Learning Computer Programming Step 6 Version 3.jpg
    • Your best bet will be to look at ads for the sort of jobs you want to get and look for the common languages that they ask for.

EditLearning the Language

  1. Think about going to school. While most companies hiring a programmer will care more about your skills than the college you went to or your grades, it greatly helps to have a college degree to point to. You will learn more efficiently than if you teach yourself, all while getting expert guidance from your teachers (and maybe your friends).
    Start Learning Computer Programming Step 7 Version 3.jpg
    • There are often scholarships and grants available to those doing degrees in this field. Don't feel intimidated by the price tag of a degree: it is possible!
  2. Learn from online universities. Whether you do an online degree with fees and an actual degree at the end or you're attending a free program like MIT's wonderful Coursera, you can learn a lot about programming from these structured courses.
    Start Learning Computer Programming Step 8 Version 2.jpg
  3. Try using online tools. Use free services like Google’s University Consortium or Mozilla’s Developer Network to learn more about programming. These companies want more developers to help their platforms flourish and their resources can be some of the best on the web.
    Start Learning Computer Programming Step 9 Version 2.jpg
  4. Learn using online tutorials. There are loads of programmers with websites where they will teach you the individual basics, as well as a few tricks. Look up tutorials on the language you want to learn to find these.
    Start Learning Computer Programming Step 10 Version 2.jpg
    • Many free online classes are available to learn coding from. The Khan Academy teaches computer coding, with easy tutorials and videos. Code Academy is another free site to learn from, with step-by-step tutorials.
  5. Start young if you can. There are several programs designed to teach kids to program. Programs like MIT's Scratch are very helpful and the younger you are, the easier it will be to pick up (like any language).
    Start Learning Computer Programming Step 11 Version 2.jpg
    • Avoid kits, as these rarely teach anything useful.

EditTeaching Yourself

  1. Start with a good book or tutorial on programming. Get a good, current book on the programming language you want to learn. Reviews on Amazon or similar sites will usually help you identify helpful books from unhelpful ones.
    Start Learning Computer Programming Step 12 Version 2.jpg
  2. Get an interpreter for that language. An interpreter is just another computer program but it will convert ideas you've written in a programming language into "machine code" so you can see things work. Lots of programs are available and you will need to choose one that is appropriate for you.
    Start Learning Computer Programming Step 13 Version 2.jpg
  3. Read the book! Take examples of the programming language from the book and put them into your interpreter. Try changing the examples and making the program do different things.
    Start Learning Computer Programming Step 14 Version 2.jpg
  4. Try putting together your own ideas to form a working program. Start with simple things, like a program to convert currencies, and work your way up to more complex things as you continue reading and learning about your programming language.
    Start Learning Computer Programming Step 15 Version 2.jpg
  5. Learn another language. Once you start actively programming in your first language, you may want to learn a second one. You'll get the most out of learning a second programming language if you pick one that uses a radically different paradigm than the one you started with. For instance, if you started in Scheme, you might try learning C or Java next. If you started in Java, you could learn Perl or Python.
    Start Learning Computer Programming Step 16 Version 2.jpg
  6. Continue programming and trying new things! To be a good programmer you, at the very least, have to keep up with changing technology. It's a constant learning process, and you should always be learning new languages, new paradigms, and most importantly: programming new things!
    Start Learning Computer Programming Step 17 Version 2.jpg

EditTips

  • Don't jump start into complex language like Java but start with python as it encourages beginners and is composed of basically every little aspect in programming.
  • Java has a powerful concept called multithreading. Study it carefully.
  • Get a handy reference book. Make sure it's the latest version as languages keep updating.
  • Start with something fun, motivate yourself to solving challenges, progressing your skills in logical problem solving.
  • Use Eclipse when writing Java programs. It's an extremely useful program that can debug your code and you can run your code instantly, as well as using the package explorer to flick through multiple files of your code.
  • By heart the syntax is a must. You are free to apply it in your own way. Study some sample programs then start coding your own.

EditRelated wikiHows








from How to of the Day http://ift.tt/Php1W0
via Peter

No comments:

Post a Comment

$3 Per Year Web Hosting