Note: Creating a computer program requires knowledge of one or more programming languages, as well as other considerations. This page does not provide step-by-step instructions for creating a program, since the steps vary according to the type of program being created and the programming language.
Anyone interested in developing software, such as a program, game or online service, should start by learning a programming language. There are many programming languages and the creation of a new software program requires more training and more time than a page can provide. Therefore, this page is a general description to help you get oriented in the direction to start. An important first step is to have a plan for the program that you want to develop . For example, a plan would include the purpose of the program, game or service, and the features you want to include. Be thinking about what your plan is as you continue reading.
Choosing the language
As we noted earlier, there are many different programming languages. Deciding which language to learn can be a challenge in itself. Creating a program with many features and functions often requires you to be quite competent in one or more programming languages.
That said, the basic understanding of the concepts of almost any programming language can help you get started. Our list of programming languages includes examples of the various types of software that each language can create. These are some of our recommendations.
Deciding on your programming language depends on the type of program or script that you would like to create. For example, Java and Visual Basic are popular because of their relative ease and because both are a good way to learn the basics of programming. Other popular languages include C, C ++ and C # , which are used to create games, applications, drivers, operating systems , as well as many of the software programs that they run on a PC. If you are interested in developing scripts and programs, such as forums and online services, Perl, PHP and Python are popular options, in addition to HTML .
Decide on an editor
An editor is any program that allows you to write computer code. They range from simple, such as a basic text editor, to advanced software , such as Adobe Dreamweaver, Eclipse, JDeveloper or Microsoft Visual Studio . Fortunately, any program can be written in a text editor, which means you can start for free. As you become more comfortable with a programming language, it is recommended to use a more advanced editor, as it can make coding and code testing more efficient.
Arpen Technologies Recommendations
For Windows users, we suggest an editor such as Notepad ++ because it is free and supports syntax highlighting. If you're on a Mac , you can use its free editor called TextEdit . In addition, it is good to keep in mind that visual programming languages, such as Visual Basic , include the editor and the compiler in the same tool used to create programs
Most programming languages are high-level programming languages, which means that they are easy to understand for you, but that a computer can not understand. In order for the computer to "read" its program, it must be compiled or have an interpreter. Your programming language is the deciding factor about whether or not you need a third-party program to compile or interpret it.
For example, Eclipse is an interpreter that takes a program written in Java and "translates" it into a code that a computer can execute and understand. Other languages, such as Perl, are interpreted, which means that it is not necessary to compile them. These languages only require that they be installed on the computer or the server that executes the script.
Learning the language
After you have decided on a programming language, editor and compiler, you are ready to program. For most users, the easiest way to start is with the infamous Hello World. Program. After you have been able to run your program that prints "Hello World!" On the screen, the next step is to learn the syntax of the language. To do so, you must understand the following concepts:
- Understand how to declare variables
- Create conditional statements (for example, if, elsif and more)
- Make loops (for example, do, for, foreach, goto and while)
- Understand the escape sequences
- How to comment or temporarily disable parts of the code
- Understand regular expressions
As you come across questions, a search on the Internet can answer most of them. Books written for your programming language or programming courses are excellent ways to further develop your skills.