2021-01-17-TIL

Console color setting in Java

https://forgiveall.tistory.com/466

How to execute java class file in Mac terminal

https://stackoverflow.com/questions/24174947/mac-terminal-could-not-find-or-load-main-class-classname

How to get tree view? (Markdown directory structure)

  • tree in macOS

    http://mama.indstate.edu/users/ice/tree/

    https://eunguru.tistory.com/150

  • Markdown directory structure

    https://ko.ojit.com/so/unicode/14673

    https://jekyllrb.com/docs/structure/

    https://github.com/demun/FrontEndStudy/blob/master/document/%40Rule/%EB%AC%B8%EC%84%9C-%EC%9E%91%EC%84%B1-%EB%B0%A9%EB%B2%95.md

    Object vs Class vs Instance, what is the difference?

    • references https://stackoverflow.com/questions/2885385/what-is-the-difference-between-an-instance-and-an-object https://www.codementor.io/@stevedonovan/class-vs-object-vs-instance-14i2s2lu6r https://www.quora.com/What-is-the-difference-between-object-and-instance https://www.java67.com/2014/11/difference-between-instance-and-object-in-java.html https://levelup.gitconnected.com/what-is-difference-between-reference-object-instance-and-class-24721e526f9b https://cerulean.kkennib.com/149 https://alfredjava.wordpress.com/2008/07/08/class-vs-object-vs-instance/ https://www.ncl.ucar.edu/Document/HLUs/User_Guide/classes/classoview.shtml

‘객체지향의 사실과 오해'와 ‘오브젝트'를 스터디하고 계신다는 분이 객체지향 설계에 익숙해지려면 어떻게 해야하는지 궁금하다며 메일을 주셨습니다.답장을 드리고나니 (너무 뻔한 답변같지만) 페북에 남겨도 좋을것 같아 여기에도 올립니다.1. 도메인 관심사와 기술 관심사를 명확하게 분리하고, 도메인 관심사를 객체지향적으로 설계하는데 초점을 맞추세요.2. 처음부터 객체지향적으로 설계하기 어렵다면 먼저 작은 기능을 절차지향적으로 구현한 후 객체지향적인 설계를 향해 리팩토링하세요.3. 단위 테스트의 용이성으로 객체지향 설계의 품질을 측정하세요. 객체지향 설계의 품질이 좋으면 좋을수록 단위 테스트를 더 쉽게 작성할 수 있습니다.4. 디자인 패턴을 학습하고 디자인 패턴이 적용된 다양한 예를 살펴보세요. 디자인 패턴은 역할과 책임을 어떻게 분배하고 어떤 방식으로 협력해야 설계가 유연해지는 지 알려주는 훌륭한 참고서입니다.5. 좋은 설계는 한번에 완성되지 않습니다. 객체들의 협력이 자리잡을 때까지 반복적으로 리팩토링하세요.