[Chapter 3] - 실행 어라운드 패턴과 람다 #43
Unanswered
Irisation23
asked this question in
CHAPTER 3 람다 표현식 - Q&A
Replies: 1 comment
-
참고 해보면 괜찮을 것 같은 자료! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
p131 발췌
실행 어라운드 패턴
의 예는 File I/O 도 있을 수 있지만,JDBC
에서 사용되는Connection
역시 실행 어라운드 패턴이라 생각된다.아래의 일련의 과정은 꽤 많은 곳에서 중복 코드로 남아있게 된다.
Q. 해당 과정 역시도
람다
를 이용한다면, 유연성과 재사용성을 추가로 얻을 수 있을까?Beta Was this translation helpful? Give feedback.
All reactions