-
통합 개발 환경(IDE)에 대해 정리하였습니다.
< What is an IDE? >
An IDE, or Integrated Development Environment, enables programmers to consolidate the different aspects of writing a computer program.
: IDEs increase programmer productivity by combining common activities of writing software into a single application
- Editing source code
- Building executables
- Debugging
< Editing source code >
Writing code is an important part of programming. We start with a blank file, write a few lines of code, and a program is born! IDEs facilitate this process with features like syntax highlighting and autocomplete.
< Syntax Highlighting >
An IDE that knows the syntax of your language can provide visual cues. Keywords, words that have special meaning like class in Java, are highlighted with different colors.
Example)
// without syntax highlighting public class NiceDay { public static void main(String[] args) { System.out.println("It's a nice day out!"); } }
// without syntax highlighting public class NiceDay { public static void main(String[] args) { System.out.println("It's a nice day out!"); } }
< Autocomplete >
When the IDE knows your programming language, it can anticipate what you’re going to type next!
Example)
< Building Executables >
Java is a compiled language. Before programs run, the source code of a .java file must be transformed into an executable .class by the compiler. Once compiled, the program can be run from the terminal.
This compilation process is necessary for every program, so IDEs provide automated build processes for languages, so the act of compiling and executing code is abstracted away.
< Debugging >
When a program does not run correctly, IDEs provide debugging tools that allow programmers to examine different variables and inspect their code in a deliberate way.
IDEs also provide hints while coding to prevent errors before compilation.Example)
'Java' 카테고리의 다른 글
Class : Method (0) 2022.02.04 Class : Introduction (0) 2022.02.03 Variables : Manipulating (0) 2022.02.01 Variables (0) 2022.01.31 Hello World (0) 2022.01.30