2019-12-27

박동건·2019년 12월 27일
0

TIL(2019)

목록 보기
39/41

Today I Learn...

1. Object

  • OOP(Object Oriented Programming)가 무엇인지?

  • 객체 지향 프로그래밍을 의미. 컴퓨터 프로그램을 “객체(Object)"들의 모임으로 파악하고자 하는 프로그래밍의 패러다임

  • 현실 세계를 리모델링

  • 특성

    1. 추상화

    2. 캡슐화(은닉)

    3. 상속성, 재사용

    4. 다형성

  • JavaScript에서 Object를 생성하는 여러가지 방법들

    Object.create(prototypeObject, [propertyObject])
    let obj1 = {}
    let obj2 = new object()
  • JavaScript에서 Prototype은 무엇이고 왜 사용해야 하는지?

  • prototype은 객체와 객체를 연결하는 체인의 역할을 하는 것이다.

  • 같은 생성자를 통해서 만들어진 객체들은 하나의 prototype 이라는 Object를 공유하고 있다. 그래서 연결된 모든 변수 및 메소드 등과 같은 것을 접근할 수 있게 된다. + 메모리 관리

2. Data Structure

  • stack(스택)
    • LIFO(Last In First Out) 형식의 자료 구조
  • queue(큐)
    • FIFO(First in first out) 형식의 자료 구조

To-Do

  • Data Structure

  • Linked List

  • Graph

  • Tree

  • Binary Search Tree

  • Hash Table


참고문서

  1. https://velog.io/@cyranocoding/%EA%B0%9D%EC%B2%B4-%EC%A7%80%ED%96%A5-%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%98%EB%B0%8DOOP-Object-Oriented-Programming-%EA%B0%9C%EB%85%90-%EB%B0%8F-%ED%99%9C%EC%9A%A9-%EC%A0%95%EB%A6%AC-igjyooyc6c

  2. https://evan-moon.github.io/2019/08/24/what-is-object-oriented-programming/

  3. https://88240.tistory.com/228

  4. https://mygumi.tistory.com/312

  5. https://gmlwjd9405.github.io/tags#data-structure

profile
박레고의 개발 블로그

0개의 댓글