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

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/Refactoring (2)
Erase Calcluations

오늘 아침, 코틀린 커뮤니티 포럼에 계산값에 대한 질문이 올라와 있었다. Double 연산이 제대로 되지 않는다는 것이었다. Original discussions: discuss.kotlinlang.org/t/how-to-do-an-operation-on-a-variable-and-assign-it-that-new-value-for-easing-calculations/19621 [ How to do an operation on a variable and assign it that new value for easing calculations? Do calculations with double seems a mess. But within my calculation i have numbers like 2.24..

Object Oriented Programming/Refactoring 2020. 10. 26. 17:57
IfElse 대신 상속 사용하기

인터넷을 하다가 https://www.jetbrains.com/help/idea/replace-conditional-logic-with-strategy-pattern.html#5bed2 에서 아래와 같은 코드를 발견했다. public class IfElseDemo { public double calculateInsurance(double income) { if (income

Object Oriented Programming/Refactoring 2020. 9. 17. 07:33
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • SSL
  • coroutines
  • security
  • litho
  • kotlin
  • Android
more
«   2025/08   »
일 월 화 수 목 금 토
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

티스토리툴바