2022-02-21-TIL

Today I Learned

레거시에서 리팩토링 및 Hotfix 수정하기

아주 복잡하게 짜여진 레거시에서 hotfix를 수정한다거나 리팩토링을 한다는 것은 거의 폭탄제거 혹은 수술 집도와 같은 일이다.

DataGrip Version Control

  • https://www.jetbrains.com/help/datagrip/version-control-integration.html

Logger vs System.out.println

  • https://stackoverflow.com/questions/31869391/what-is-the-difference-between-java-logger-and-system-out-println
  • https://jworks.io/system-out-println-vs-loggers/

logback-spring.xml vs application.yml

  • https://oingdaddy.tistory.com/317

log4j, logback, log4j2

  • https://wildeveloperetrain.tistory.com/36

Best Practice for Exception Handling

  • https://dzone.com/articles/best-practice-for-exception-handling-in-spring-boo
  • https://www.youtube.com/watch?v=xBci5w9ava0
  • https://stackoverflow.com/questions/66762006/spring-boot-exception-handling-best-practice
  • https://spring.io/blog/2013/11/01/exception-handling-in-spring-mvc
  • https://medium.com/globant/best-practice-for-exception-handling-in-springboot-540484db8a1a
  • https://reflectoring.io/spring-boot-exception-handling/
  • https://www.baeldung.com/exception-handling-for-rest-with-spring
  • https://www.baeldung.com/rest-api-error-handling-best-practices
  • https://www.toptal.com/java/spring-boot-rest-api-error-handling
  • https://mangkyu.tistory.com/204
  • https://www.youtube.com/watch?v=nyN4o9eXqm0
  • https://www.youtube.com/watch?v=PzK4ZXa2Tbc

Java Switch Expression

  • https://www.wearedevelopers.com/magazine/modern-java-switch-expressions
  • https://docs.oracle.com/en/java/javase/13/language/switch-expressions.html
  • https://stackoverflow.com/questions/65657169/what-are-switch-expressions-and-how-are-they-different-from-switch-statements
  • https://www.baeldung.com/java-switch

package-info.java

  • https://www.baeldung.com/java-package-info

Refactoring: Substitute Algorithm

  • https://refactoring.guru/substitute-algorithm

Unit Testing

  • https://devroach.tistory.com/35?category=1031971
  • https://devroach.tistory.com/52?category=1031971
  • http://www.yes24.com/Product/Goods/11361087

Spring 으로부터 도메인 모듈을 보호하는 방법

  • https://msolo021015.medium.com/spring%EC%9C%BC%EB%A1%9C%EB%B6%80%ED%84%B0-%EB%8F%84%EB%A9%94%EC%9D%B8-%EB%AA%A8%EB%93%88%EC%9D%84-%EB%B3%B4%ED%98%B8%ED%95%98%EB%8A%94-%EB%B0%A9%EB%B2%95-91ffa157ee77

Git Flow vs GitHub Flow

  • https://www.freshconsulting.com/insights/blog/git-development-workflows-git-flow-vs-github-flow/#:~:text=GitHub%20proposes%20an%20alternate%20workflow,hotfixes%20just%20like%20feature%20branches.
  • https://techblog.woowahan.com/2553/

Completable Future

  • https://12bme.tistory.com/545