Rather than emphasizing how to do something, declarative programming focuses on what needs to be done - you describe what should be accomplished and the program handles the specific procedures. The main advantages are that it's easy to read and write. However, a disadvantage is that it can be difficult to control all the underlying flow, making it less suitable for system-level applications like embedded systems.
One tragedy of programming is that declarations must be made in the opposite order of execution, the reverse of dependency. And this problem is not solved by hoisting. Code Readability
Declarative Programming Method
객체지향 시스템과 패러다임 그리고 철학
자바스크립트는 왜 프로토타입을 선택했을까 라는 글을 읽고 떠오르는 내용들을 덧붙이거나 정리 해보았습니다. 원글과는 접근법이 좀 다르며, 기획이 아닌 급하게 쓴 글이라 의식의 흐름 사이에서 표류합니다 ㅠㅠㅠ 빠른요약 클래스와 프로토타입의 가장 커다란 차이는 객체 생성 방식 [클래스 -> 인스턴스 vs 객체 -> 복사된 객체]. 가장 큰 공통점은 객체지향이며, 프로그램을 객체라는 단위로 나누고 상호작용하게 하는 것.
https://black7375.tistory.com/86

Seonglae Cho