전체 글
-
8 inspiring resolutions to help you be a better human — and create a better world개인공부/영어 2020. 12. 28. 22:23
ideas.ted.com/8-inspiring-resolutions-to-help-you-be-a-better-human-new-years/ 8 inspiring resolutions to help you be a better human — and create a better world Uplifting New Year’s resolutions to help you improve yourself and the world, one tiny action at a time. ideas.ted.com We humans love a good reset — the chance to start fresh and ride the wave of motivation that comes with shedding the ol..
-
좋은 객체지향 설계 법칙(SOLID)Back-end/스프링부트 2020. 11. 29. 17:25
1. SRP: 단일 책임 원칙 : 한 클래스는 하나의 책임만 가져야 한다. 변경이 있을 때 파급 효과가 적으면 단일 책임 원칙을 잘 따른 것. ex) UI 변경, 객체의 생성과 사용을 분리 2.OCP: 개방-폐쇄 원칙 소프트웨어 요소는 확장에 열려 있으나 변경에는 닫혀 있어야 한다. (다형성을 활용) 인터페이스를 구현한 새로운 클래스를 하나 만들어서 새로운 기능을 구현 3.LSP: 리스코프 치환 원칙 프로그램의 객체는 프로그램의 정확성을 깨뜨리지 않으면서 하위 타입의 인스턴스로 바꿀 수 있어야한다. ex) 자동차 인터페이스의 엑셀은 앞으로 가라는 기능, 뒤로가게 구현하면 LSP 위반, 느리더라도 앞으로 가야함. 4.ISP: 인터페이스 분리 원칙 특정 클라이언트를 위한 인터페이스 여러 개가 범용 인터페이스..
-
20.10.26개인공부/영어 2020. 10. 26. 22:15
Bridget Jone's Baby 1. Obscure : not known to many people 2.Marvelous : extremly good. 3. Coax : to persuade someone gently to do something or go somewhere, by being kind and patient, or by appearing to be I was having a lamb biryani in an attempt to coax you out.
-
Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. ~ 에러Front-end/Vue.js 2020. 10. 23. 15:06
props 로 받은 데이터를 직접사용하면 Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. 라는 에러가 뜬다. props로 받은 데이터를 복사해서 사용을 해야 에러가 발생하지 않는다.