본문 바로가기

프로그래밍

Object Calisthenics

728x90
  1. One level of indentation per method
  2. Don't use the ELSE keyword
  3. Wrap all primitives and Strings
  4. First class collections
  5. One dot per line
  6. Don't abbreviate
  7. Keep all entities small
  8. No classes with more than two instance variables
  9. No getters/setters/properties
반응형

'프로그래밍' 카테고리의 다른 글

[Java Spring Boot] Jpa Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol  (0) 2021.05.27
Bootstrap css margin,padding  (0) 2021.03.03
TDD and BDD  (0) 2021.03.02
Blazor  (0) 2021.03.02
Javascript 값 복사 (copy value)  (0) 2021.03.02