Integrated development environments
Writing large programSequences of instructions for a computer. can be a complex task. Various tools exist to help the programmer write clear, maintainable codeProgramming code that is easy to understand and amend.:
- editorA program that allows the writing and amending of code.
- runtimeThe period when a computer program is executing or running.
- automatic line numbering
- error diagnosis
- colour coding
- debugThe process of finding and correcting programming errors.
- trace
- break points
- variableA memory location within a computer program where values are stored. watch
- auto-correct
- auto-suggestion
- auto-indent
- linker
- loader
- compilerA program that translates high-level programming languages into machine code.
- interpreterA program that translates high-level programming languages into machine code. Programs can either be interpreted or compiled.
Some or all of these tools are often gathered together in softwareThe programs, applications and data in a computer system. Any parts of a computer system that aren't physical. known as an integrated development environment (IDE)A suite of tools that helps a programmer to write error-free, maintainable code..
Many brands of IDE exist:
- Python comes with a simple IDE called IDLE.
- Eclipse and Netbeans are two fully featured IDEs used for programming in Java, JavaScript and HTML.
- Visual Studio is an IDE that supports several programming languageA language used by a programmer to write a piece of software. including Visual Basic.NET and C#.
The choice of IDE is down to the personal preference of the programmer. Some programmers enjoy the variety of tools offered by some IDEs, while others prefer a simpler approach.
Editors
Editors are software that allow programmers to write and edit code. Editors are often fairly simple, but usually offer facilities such as:
- automatic line numbering
- colour coding
- auto-correct
- auto-suggestion
- auto-indent
These tools help to improve the readability of code. However, they do not usually help to identify errors.
Debugging tools
Debugging tools help programmers to locate and fix errors.
Break points enable a program to be paused or stopped at predetermined points. The programmer can then examine different parts of the running program, such as the values held in variables or the status of conditionIn computing, this is a statement that is either true or false. A computation depends on whether a condition equates to true or false.. This information tells the programmer whether or not the program is working as expected.
Variable watch lets the programmer see the changing values of variables as the program runs. Again, this enables the programmer to check if the program is functioning as expected.
Some IDEs pinpoint exactly where a syntax errorError in a program resulting from code not following syntax rules governing how to write statements in a programming language. occurs, or at which line in a program an error is generated. This is known as error trapping. Tracing involves recording information as a program runs to see how different elements of the program are affected as it progresses.
More guides on this topic
- The CPU - Eduqas
- Primary storage - Eduqas
- Secondary storage and embedded systems - Eduqas
- Networks - Eduqas
- Internet and cybersecurity - Eduqas
- Data representation - Eduqas
- Storage and data organisation - Eduqas
- Operating systems - Eduqas
- Principles of programming - Eduqas
- Algorithms - Eduqas
- Sorting, searching and validation - Eduqas
- Impacts of digital technology on wider society - Eduqas