Start programming

Author: Frank Hunt
Date Of Creation: 11 March 2021
Update Date: 1 July 2024
Anonim
HOW TO PROGRAM - Getting Started!
Video: HOW TO PROGRAM - Getting Started!

Content

Ever wanted to create a program from scratch? Programming can be a very rewarding experience. All great computer programmers started just like you: without any knowledge, but with a willingness to read, study and practice.

To step

  1. Decide what to do with you programming knowledge want to do. Do you want to learn how to make games, or is web development more your style?
  2. Start reading and find out which programming languages ​​are used. For making games, it would be helpful to learn one of the C languages. For web development, you start with HTML and CSS, then move on to any server language you need, such as Perl or PHP.
  3. Do a little more research and find out what you need to test it. For example, if you are learning PHP, you will need to download and install a server like Apache as well as PHP itself. You may need to buy a program for a C language, but there are good programs you can download for free to compile a C program.
  4. Start reading. Start with your program manual and work through the examples. You may want to try some beginner guides.
  5. Decide what your first project will be. Choose something simple. If you want to learn how to program games, try a simple game like guessing numbers first.
  6. Start programming. You will probably find it difficult and refer to the manual or tutorials often, but it is a start.
  7. Move on to a slightly more difficult project.
    • Ultimately, you will have enough knowledge of the language and its syntax, as well as the "theory" of programming, to be able to complete more difficult projects.
  8. Find a good mentor. A good mentor will speed up your learning process and help you avoid making the usual mistakes.

Tips

  • Don't be afraid to ask for help. Find a good, active forum with a lot of users and a lot of knowledge of the language you have chosen, and ask any questions you want. A true friend with experience can help explain difficult concepts and deal with annoying bugs.
  • If you get discouraged, take a break. You may have "got it" when you come back. A 15-30 minute break from the computer is best.
  • If you can find a book of your language cheaply, buy it. It's always good to have a paper reference, but pointless just having a book as there is an abundance of help on the web.
  • Some good beginner languages ​​for games are: BASIC, FORTH, and the Kid Programming Language.
  • Stay motivated. Practice as often as you can, because the longer you don't program in between sessions, the more you forget.

Warnings

  • Sitting at the computer for long hours can cause eye strain, headaches, and back and neck pain, so take frequent breaks.
  • Typing can cause carpal tunnel syndrome, so get good posture.

Necessities

  • Computer