From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/ko/glossary/abstraction/index.html | 52 ++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 files/ko/glossary/abstraction/index.html (limited to 'files/ko/glossary/abstraction') diff --git a/files/ko/glossary/abstraction/index.html b/files/ko/glossary/abstraction/index.html new file mode 100644 index 0000000000..9b8d69c4d1 --- /dev/null +++ b/files/ko/glossary/abstraction/index.html @@ -0,0 +1,52 @@ +--- +title: 추상화 +slug: Glossary/Abstraction +tags: + - Abstraction + - CodingScripting + - Glossary + - 추상화 +translation_of: Glossary/Abstraction +--- +

{{Glossary("computer programming", "컴퓨터 프로그래밍")}}에서의 추상화란 복잡한 소프트웨어 시스템을 효율적으로 설계하고 구현할 수 있는 방법입니다. 추상화는 뒷편 시스템의 기술적 복잡함을 단순한 {{Glossary("API")}} 뒤에 숨깁니다.

+ +

데이터 추상화의 장점

+ + + + + +

+ +
class ImplementAbstraction {
+  // method to set values of internal members
+  set(x, y) {
+    this.a = x;
+    this.b = y;
+  }
+
+  display() {
+    console.log('a = ' + this.a);
+    console.log('b = ' + this.b);
+  }
+}
+
+const obj = new ImplementAbstraction();
+obj.set(10, 20);
+obj.display();
+// a = 10
+// b = 20
+ +

더 알아보기

+ +

일반적인 지식

+ + -- cgit v1.2.3-54-g00ecf