분류 전체보기
-
23/10/30 10월의 마무리오늘/Today I.. 2023. 10. 30. 20:44
WHAT I DID TODAY 정석 컬렉션 프레임워크 마무리 스프링 1주차 마무리 DETAILS 오늘 제공받은 스프링은 총 강의 시간이 3시간 밖에 되지 않아 오늘 끝까지 다 듣고 정리하려고 한다. 자세한 내용은 아래 링크에 기록할 예정이다. [1주차] 강의 첫번째. 프로토콜 (Protocol) 원격에서 서로에 대한 정보가 없는 메세지의 송/수신자가 서로 필요한 요청과 응답을 할 수 있도록 미리 규약을 정해 놓은것. 웹상에서는 HTTP라는 프로토콜을 통 like-it-too.tistory.com 컬렉션 프레임워크는 이번 프로젝트를 하며 엄청난 빈도로 사용하였기에 복습하는데 막히는 부분이 없었다. ANYTHING 오늘이 10월의 마지막날은 아니지만 뭔가 오늘 끝나는 것들이 많아서 마무리라는 제목을 붙여보았..
-
[0주차] 1~3강스파르타 강의 정리 2023. 10. 30. 20:36
풀집중하여 완강까지 했지만 새 강의가 재지급되며 사실상 Deprecated 되었다. 삭제하긴 좀 그래서 0주차로 변경 강의 첫번째. 프로토콜 (Protocol) 원격에서 서로에 대한 정보가 없는 메세지의 송/수신자가 서로 필요한 요청과 응답을 할 수 있도록 미리 규약을 정해 놓은것. 웹상에서는 HTTP라는 프로토콜을 통해 데이터를 송/수신하고 있다. API (Application Programmng Interface) 다른 소프트웨어 시스템과 통신하기 위해 따라야하는 규칙을 정의한 것 웹 API는 클라이언트와 웹 리소스 사이의 게이트웨이라고 생각할 수 있다. 인터페이스(Interface) 서로 다른 두개의 시스템, 장치 사이에서 정보나 신호를 주고받는 경우의 접점이나 경계면. 즉, 사용자가 기기를 쉽게 ..
-
[개인프로젝트] 피드백1 이해완료스파르타코딩클럽/자바 개인프로젝트 - Kiosk 2023. 10. 30. 17:54
1. 객체지향을 만들어가는 데에 있어서 action (method)와 factor(variable)을 분리해서 생각하는 게 중요한데요. 각 클래스 안에 print method를 넣는 것, 예를 들면 Order 안에 order 현황을 프린트 하도록 모두 넣다보니, 메인에서 각 클래스를 호출하는 부분이 어색하게 느껴지는 거 같습니다. Order 객체 안에는 Order가 필요한 값들 (메뉴 종류 등등)만을 변수로 가지도록 하고 printer 클래스와 같은 프린트를 해주는 클래스를 만들어 설계하면 어땠을까 생각합니다 ! 이 피드백을 항상 머릿속에 넣어두고 어떤식으로 했어야할까를 지난 며칠간 생각하고 있었다. 그런데 문득 정석 예제를 풀어 보던 중 print 메소드를 따로 작성해둔 것이 보였고 혹시 이런식으로 하..
-
[팀프로젝트] 호텔 예약 프로그램 팀 AAA_KPT스파르타코딩클럽/자바 팀프로젝트 - 호텔예약프로그램 2023. 10. 30. 17:03
1. 프로젝트 개요 프로젝트 명: HRSProject 필수 요소: 클래스 형성: 호텔, 객실, 예약, 고객 등 필요한 클래스 구현 객체 요구사항 충족: 각 클래스의 객체들이 요구사항에 맞는 속성을 가지도록 구현 실시간 반영: 시스템이 실시간으로 예약 상황을 반영하도록 구현 관리자 시스템: 호텔 측에서 모든 예약 목록을 조회할 수 있는 기능 구현 예약 취소 기능: 고객이 자신의 예약을 취소할 수 있는 기능 구현 UUID 활용: 각 예약에 대해 고유한 ID를 부여하기 위해 UUID 활용 추가 요소: 달력 기능 추가 : 로컬 데이터를 일정 기간 반영하는 달력 기능 추가하여 사용자가 선택 가능하게 함. 입력 형식에 따른 진행 방식 추가 : 사용자의 입력 형식에 따라 다르게 진행되는 로직 추가. 고객 경험 개선 ..
-
코딩에 관해 몰랐던 사실들 기록 1isAlreadyRead/가벼운 내용 2023. 10. 30. 00:03
책을 읽다가 흥미로운 부분이나 기억에 남는 부분을 기록하는 식으로 작성해본다. 에니악은 전선을 연결하여 프로그램을 코딩했다고 한다. 코딩된 프로그램을 저장할 수 있는 메모리가 없었기 때문에. 프로그램에 수정사항이 생기면 모든 전선을 바꿔가며 다시 코딩해야했다고 한다. 이후 Von Neumann architecture (폰 노이만 구조) 가 발명되어 중앙처리장치(CPU), 메모리, 프로그램을 통해 프로그램을 저장할 수 있게 되었다. 세계 최초로 코딩한 사람은 에이다 러브레이스 이다. 루프, IF문 등의 개념을 발명하였다. 그리고 현재 존재하는 거의 모든 프로그래밍 언어들이 러브레이스가 최초로 구현한 IF문의 형태를 그대로 따르고 있다. 작성한 소스코드를 기계어로 바꾸는 것을 컴파일이라 하며 링크는 컴파일된..
-
[개인프로젝트] 키오스크 만들기 최종결과스파르타코딩클럽/자바 개인프로젝트 - Kiosk 2023. 10. 27. 20:05
채점이 끝나고 팀원들은 메일을 받고 열심히 언박싱을 하는데 나만 오지 않았따.. 왜 오지 않는 걸까 고민하면서 계속 기다렸지만 30분이 지나도 받은 메일함에 +1은 생기지 않았는데 스팸함에 +1이 되어있는 것이다. 심지어 다른 팀원들이 받은 그 시간에! 카카오 이놈이 멋대로 필터링해서 스팸함에 박아버린것이었다. 두근두근하며 메일을 열어보았고 받은 피드백은 아래와 같다. 1. 객체지향을 만들어가는 데에 있어서 action (method)와 factor(variable)을 분리해서 생각하는 게 중요한데요. 각 클래스 안에 print method를 넣는 것, 예를 들면 Order 안에 order 현황을 프린트 하도록 모두 넣다보니, 메인에서 각 클래스를 호출하는 부분이 어색하게 느껴지는 거 같습니다. Orde..
-
23/10/27오늘/Today I.. 2023. 10. 27. 18:50
WHAT I DID TODAY 팀프로젝트 예외처리 남는 시간 정석 9시 이후 자바의 신 (예정) DETAILS 팀프로젝트 예외처리를하며 막히는 부분이 많아서 오늘도 튜터님의 도움을 받았다. 우선 try-catch에서 catch문이 실행되면 try문의 모든 로직이 사실상 사용불가능한 상태이기 때문에 catch문에서 변수 등을 새로 선언해줘야한다. 그리고 스캐너를 사용하는 경우 try-catch를 쓰는것이 좋다. 스캐너가 엮인 코드에서 거의 대부분의 예외는 스캐너를 통한 입력에서 발생하기 때문에 미리 예외처리를 해두어 실행 시 오작동을 방지하는 것이다. ANYTHING 남의 코드 보는건 역시 어렵다. THIS WEEK'S GOAL
-
자바 TMI_3프로그래밍/Java 2023. 10. 26. 20:57
1. 변수의 여러가지 작성법 Camel Case : 띄워쓰기 대신 각 단어의 첫 글자를 대문자로 표기하여 구분하는 방법. 중간중간 대문자가 볼록 솟아있는 모습이 낙타의 등과 같다하여 카멜 케이스라 명명됨 thisIsCamelCase Snake Case : 띄워쓰기 대신 언더바(_) 를 활용하여 구분하는 방법. 언더바로 이어진 모습이 뱀과 같다하여 명명됨. this_is_snake_case Pascal Case : 카멜케이스와 유사하지만 첫 글자도 대문자로 시작한다. 자바는 클래스만 대문자로 시작하는 암묵적 규칙이 있기 때문에 추천하지 않는 작성법 ThisIsPascalCase Kebab Case : 모든 단어가 소문자이며 띄워쓰기 대신 - 로 연결되어 있다. 이 모습이 꼬챙이에 꽂힌 케밥과 유사하다 하여..