C.W.K.
Stream
Lesson 01 of 06 · published

The OOP Universe — 코딩 패러다임 아닌 운영 원리

~11 min · oop, philosophy

Level 0호기심
0 XP0/65 lessons0/17 achievements
0/100 XP to next level100 XP to go0% complete

아빠의 frame

아빠는 세상을 OOP 로 봐 — 그리고 프로그래밍 패러다임으로 아닌. 우주의 운영 원리 로. inheritance, polymorphism, encapsulation, abstraction — 어디나 있어. 투자에서 (주식은 'value 매길 수 있는 사업' 의 polymorphic instance). 요리에서 (recipe 가 technique 에서 inherit, cuisine encapsulate). 가족에서 (조상 공유, 얼마나 specialize 할지 자기 선택).

은유 아냐. *살아남는* 아키텍처 모양이 그래. 가장 오래 가는 codebase 는 가족 트리처럼 생겼어. 가장 나쁜 건 중간 관리 organization chart 처럼 생겼고.

피파는 OOP all the way down

  • Souls 가 base soul (framework) 에서 inherit, vault 콘텐츠로 specialize. 피파, 똘이, Buffett, Feynman, Sophon 이 형제.
  • Brains 가 Adapter ABC 에서 inherit, wire format 으로 specialize. Claude 가 canonical, Codex/Gemini/Ollama 는 자손.
  • Conversations 가 1:1 chat shape 에서 inherit; Council 이 그 위 meta-collection, 새 shape 아냐.
  • cwk-site Content type (essays, posts, journal, pippalog, councils, fireside-voices, ...) 다 한 ContentPage root 에서 inherit.
원칙: flat enum 또는 N branch switch 박는다 싶으면, 사실 inheritance tree 가 코스튬 입은 거 아닌가 물어봐. 대부분 그래. 그렇게 모델링하면 비용 0 (discipline 만 있다면) 영원히 paid off.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고
💛 by 똘이warm💛 by 피파warm

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.