홈트레닝 프로젝트 Build Your Body 소개
·
Projects/Build Your Body_2024
자신이 원하는 운동들로 프로그램을 만들 수 있습니다!한 세트 끝날 때마다 체크박스를 클릭하세요!!통계 페이지에서 수행했던 모든 운동 히스토리를 확인하세요!!! 자세한 내용과 사용방법은 여기 클릭💪 웹사이트 둘러보기 클릭 💪💪
Next.js 14 & React - The Complete Guide
·
Frontend/Next.js
유데미의 강의 Next.js 14 & React - The Complete Guide 를 학습한 내용으로 각 섹션마다 중요한 내용과 코드를 정리했습니다. 노션 페이지에서 확인하기-> https://jay-global.notion.site/Next-js-14-React-The-Complete-Guide-b0c0fdca34b14aae823f0b4d48d7e837
리스코프 치환 원칙(Liskov substitution principle)
·
Computer Science/Terminology and Concepts
“자식 클래스는 부모 클래스로 교체해도 프로그램의 동작에 문제가 없어야 한다”리스코프 치환 원칙 (Liskov Substitution Principle, LSP) 주요 특징1. 서브타입의 대체 가능성자식 클래스(서브타입)는 부모 클래스(슈퍼타입)와 완전히 호환되어야 하며, 부모 클래스 대신 자식 클래스를 사용해도 프로그램이 정상적으로 동작해야 합니다.즉, 부모 클래스의 인스턴스가 필요한 모든 곳에서 자식 클래스 인스턴스를 대체할 수 있어야 합니다.2. 행동 일관성 보장자식 클래스는 부모 클래스의 행동(메서드)을 변경하거나 예외를 추가하지 않고, 기존의 계약(Contract)을 그대로 따라야 합니다.부모 클래스가 특정 입력에 대해 예상되는 출력을 제공하면, 자식 클래스도 동일한 입력에 대해 일관된 출력을 ..
Unique Identifiers
·
Computer Science/Terminology and Concepts
Unique Identifiers: Overview, Pros, Cons, and Best PracticesUnique identifiers are crucial for ensuring uniqueness, reducing collision probability, and enabling easy tracking in various systems. Below is a summary of common identifier types:1. UID (Unique Identifier)Description: General term for any unique identifier, often implemented as an incremental integer, hash, or other ID type.Common Use..
에러와 버그의 차이점
·
Computer Science/Terminology and Concepts
에러(Error)와 버그(Bug)는 소프트웨어 개발에서 자주 혼용되지만, 의미와 맥락에서 차이가 있습니다.아래에서 두 개념을 비교합니다.1. 에러 (Error)정의: 소프트웨어가 실행 중 예상치 못한 동작을 수행하거나 실패할 때 발생하는 문제.발생 원인: 주로 런타임(Runtime) 또는 컴파일 단계에서 코드나 시스템이 의도한 대로 작동하지 않을 때 발생.유형:컴파일 에러: 문법 오류나 잘못된 코드 작성으로 인해 프로그램이 컴파일되지 않는 경우.예: int x = "text"; (데이터 타입 불일치)런타임 에러: 실행 중에 발생하는 문제로, 프로그램이 멈추거나 비정상적으로 종료됨.예: 0으로 나누기, NullPointerException, 메모리 부족 등.논리적 에러: 실행에는 문제가 없으나, 결과가 의..
Observer pattern
·
Frontend/JS Patterns
With the observer pattern,we can subscribe certain objects, the observers, to another object, called the observable. Whenever an event occurs, the observable notifies all its observers! observers: an array of observers that will get notified whenever a specific event occursAn observable object usually contains 3 important parts: subscribe(): a method in order to add observers to the observers li..