2017년 11월 22일 수요일
대학생을 위한 IT 매거진 中
대학생을 위한 IT
Object Oriented Programming
최고의 연습장은 JAVA
byHAJUNHOApr 01. 2017
1. http://www.oracle.com/technetwork/java/codeconvtoc-136057.html
Code Conventions for the Java Programming Language: Contents
www.oracle.com
2. 구현보다 인터페이스 중심 - 소프트웨어 공학 V 모델에서 모듈 구현보다 아키텍처를 만드는 것이 우선이란 말과 상통.(Dependency Inversion Principle)
3. 코드는 협업 시 코드 충돌을 줄여서 머지 맨(mergeMan)을 만들지 않기 위해 너무 크게 만들지 말 것 (Interface Segregation Principle). 또, 특정 목적만 수행하는 단위로 쪼갤 것(Single Responsibility Priciple)
4. 확장은 열리고 수정은 닫힌 형태(Open-Closed Principle), 부모 클래스를 계속해서 수정해야 하는 경우라면 설계가 잘못되었다는 의미.
5. 위키피디아 - 리스코프 치환 원칙(영어: Liskov substitution principle, LSP)은 바바라 리스코프가 자료 추상화와 계층 (Data abstraction and hierarchy)이라는 제목으로 기조연설을 한 1987년 콘퍼런스에서 처음 소개한 내용으로, 이 원칙을 엄밀한 용어로 말하자면 (강한) 행동적 하위형화라 부르는 하위형화 관계의 특정한 사례이다. 이 정의는 1994년 논문에서 다음 원칙을 만들어낸 자료형의 의미론적 상호 처리를 보장하기 때문에 단순한 문법적 관계일 뿐만 아니라 의미론적 관계다.
http://stackoverflow.com/questions/56860/what-is-the-liskov-substitution-principle
What is the Liskov Substitution Principle?
I have heard that the Liskov Substitution Principle (LSP) is a fundamental principle of object oriented design. What is it and what are some examples of its use?
stackoverflow.com
피드 구독하기:
댓글 (Atom)
UPBIT is a South Korean company, and people died of suicide cause of coin investment.
UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...
-
[펌] [UNIX/LINUX 명령어] apropos linux 2005/06/28 22:05 수정 삭제 http://blog.naver.com/wiggyz/80014482910 Mr.You의 블로그 | ?? http:...
-
안드로이드 SDK manager를 쓰다보면 XOOM 때문에 업그레이드가 안된다. 먼 계정을 넣으라고 한다. 안깔면 된다. 깔고 싶으면 에러 메시지에 뜨는 사이트 들어가서 회원 가입하면 그만이다. 간단하다. 들어가서 이메일 주소 넣으면 자기...
-
[펌] ★bourne shell☆ linux 2004/11/23 13:49 수정 삭제 http://blog.naver.com/wiggyz/80007927566 ★~º-상상 예찬-º~☆ | ㄱ깍쟁이 http://blog.nav...
댓글 없음:
댓글 쓰기
국정원의 댓글 공작을 지탄합니다.