본문 바로가기 메뉴 바로가기

Big Nerd Ranch

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Big Nerd Ranch

검색하기 폼
  • 분류 전체보기 (29)
    • Object Oriented Programming (4)
      • Design Patterns (0)
      • Refactoring (2)
      • Coding Practice 101 (2)
    • Android (15)
      • Litho (7)
      • Architecture Component (1)
      • Jetpack Compose (0)
    • Java (1)
    • Kotlin (7)
      • Coroutines (3)
      • Coroutine Context and Dispa.. (0)
      • Flow (1)
      • Kotlin Multipltaform (0)
    • VueJs (0)
    • Haskell (0)
    • Projects (0)
    • CICD (2)
      • Docker (0)
  • 방명록

Object Oriented Programming/Coding Practice 101 (2)
Tiny example - how immutable/readonly class helps OOP

I have read about Liskov Substitute Principle(LSP, https://en.wikipedia.org/wiki/Liskov_substitution_principle) few times and tried to understand correctly but it's clear sometimes but ambiguous other times. I confess it's not still 100 clear. I might need to revisit when I have a problem. We can easily find long discussions about LSP(https://stackoverflow.com/questions/56860/what-is-an-example-..

Object Oriented Programming/Coding Practice 101 2022. 3. 13. 09:14
Take favour read-time convenience over write-time convenience

Favor read-time convenience to write-time convenience. Code is read far more times than it's written, even during initial development. Favoring a technique that speeds write-time convenience at the expense of read-time convenience is a false economy. This is especially applicable to creation of class interfaces. Even if a routine doesn't quite fit the interface's abstraction, sometimes it's temp..

Object Oriented Programming/Coding Practice 101 2022. 2. 7. 05:06
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • kotlin
  • coroutines
  • security
  • litho
  • Android
  • SSL
more
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바