![article thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FVpydV%2FbtshAAds4d3%2FCkNO2F52rhOqDNI1tQ4SvK%2Fimg.png)
들어가기 앞서 지난 번에 작성했던 사내 세미나 - 테스트 코드에 대해 알아보자 세미나의 다음 편으로 진행한 세미나이다. Getter와 Setter의 사용을 금지하라 '리팩토링' 책의 저자로 유명한 Martin Fowler는 객체지향 생활체조 원칙을 소개하면서 다음과 같이 쓴 적이 있다. Getter, Setter의 사용을 금지하라 The ThoughtWorks Anthology 대체 왜 이런 얘기를 했을까? 이 이유에 대해 한번 알아보려고 한다. Getter와 Setter란? 들어가기 앞서, Getter와 Setter가 무엇인지부터 알아보면 좋을 것 같다. Getter와 Setter는 다른 객체가 자신의 속성에 직접 접근하는 것을 막기 위해 사용하는 메소드이다. Getter와 Setter를 통해 객체 안..
![article thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcHSskP%2FbtseScZaHSX%2FBUYBUzFdGVwVOzHTuZGWL1%2Fimg.jpg)
[원문: http://blog.cleancoder.com/uncle-bob/2014/11/24/FPvsOO.html ] Clean Coder Blog OO vs FP 24 November 2014 A friend of mine posted the following on facebook. He meant it as a troll; and it worked, because it irked me. There are many programmers who have said similar things over the years. They consider Object Orientation and Functional blog.cleancoder.com 들어가기 앞서 원문 작성일: 2014년 11월 24일 OO = Ob..