Life & Dev
  • Home
  • Who I am?
Subscribe

functional

A collection of 1 post
Composition over inheritance
javascript

Composition over inheritance

우선 동영상 하나 보고 가실게요. What's wrong with inheritance? Object Oriented Programming (이하 OOP) 에서 polymorphic (다형성) 을 구현하기 위해서 사용되는 방법 중 가장 대표적인 것이 아마 inheritance 일 것이다. 하지만, 지속적으로 inheritance 의 문제점이 지적되어 왔다. 대표적인 것이 이른바 고릴라 바나나 역설 이다. I think the lack of reusability
2017년 6월 27일 — 5 min read
Life & Dev © 2025
Powered by Ghost