aboutsummaryrefslogtreecommitdiff
path: root/files/ko/glossary/abstraction/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:17 -0500
commitda78a9e329e272dedb2400b79a3bdeebff387d47 (patch)
treee6ef8aa7c43556f55ddfe031a01cf0a8fa271bfe /files/ko/glossary/abstraction/index.html
parent1109132f09d75da9a28b649c7677bb6ce07c40c0 (diff)
downloadtranslated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.gz
translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.bz2
translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.zip
initial commit
Diffstat (limited to 'files/ko/glossary/abstraction/index.html')
-rw-r--r--files/ko/glossary/abstraction/index.html52
1 files changed, 52 insertions, 0 deletions
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
+---
+<p>{{Glossary("computer programming", "컴퓨터 프로그래밍")}}에서의 <strong>추상화</strong>란 복잡한 소프트웨어 시스템을 효율적으로 설계하고 구현할 수 있는 방법입니다. 추상화는 뒷편 시스템의 기술적 복잡함을 단순한 {{Glossary("API")}} 뒤에 숨깁니다.</p>
+
+<h2 id="데이터_추상화의_장점">데이터 추상화의 장점</h2>
+
+<ul>
+ <li>사용자가 낮은 수준의 코드를 작성하지 않도록 도움.</li>
+ <li>코드 중복 방지 및 재사용성 향상.</li>
+ <li>사용자에게 영향을 끼치지 않은 채로 독립적으로 클래스의 내부 구현 변경 가능</li>
+ <li>중요한 세부 정보만 사용자에게 제공하므로 응용 프로그램 또는 프로그램의 보안 향상에 도움</li>
+</ul>
+
+<ul>
+</ul>
+
+<h2 id="예"><strong>예</strong></h2>
+
+<pre><code>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</code></pre>
+
+<h2 id="더_알아보기"><strong>더 알아보기</strong></h2>
+
+<h3 id="일반적인_지식">일반적인 지식</h3>
+
+<ul>
+ <li>Wikipedia의 {{interwiki("wikipedia", "Abstraction (computer science)", "Abstraction")}} </li>
+</ul>