codestates / codestates/ds-TIL

[TIL] 문승태 - 201110

Open
#867 0 comments 0 reactions 0 assignees View on GitHub
DSFT01
Dominant language
No language data
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Month 3 - 여정의 시작


# Class, #Method, #Inheritance, #Inclusion, #OOP, # PEP

오늘 배운 것:

1. OOP
- Class
- Method

2. Inheritance
- 가족 클래스: 부모 클래스, 자녀 클래스
- 부모 클래스로부터 같은 property들을 자녀 클래스는 상속 받을 수 있다.
- 코드를 좀 더 효율적으로 쓰기 위한 개념

3. Inclusion
- 클래스의 멤버변수로 다른 클래스를 선언
- 대부분의 사람들이 사용

4. PEP
- Linting: 문법
- Styling: 포맷

5. DRY(Don't Repeat Yourself)
- 같은 코드를 반복하지 않을 방법을 항상 찾아보는 것이 중요

앞으로의 과제:

- OOP의 기본 개념을 이해하기 위한 시간을 좀 더 쏟아야겠다.
- PEP에 비준하여 다른 사람이 읽기 쉬운 코드를 쓸 수 있도록 해야겠다.
- 반복적인 코드를 쓰는 것에 주의해야겠다.

그 외 느낀 점:

- Inheritance및 Inclusion의 개념이 아직은 잘 와 닿지 않아 좀 더 공부가 필요할 것 같다.
- 사람이 코드를 봐야하는 경우가 많은 만큼, 사람을 기준으로 읽기 쉬운 코드를 쓸 수 있도록 항상 고민해야겠다는 생각이 들었다.
- 반복적인 부분들은 최대한 자동화할 수 있는 방법을 고민해야겠다.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or entry point is mentioned. First clarify whether this open issue is intended to add or revise the TIL content, and define the expected result before making a change.

Written by the indexing model from the issue text.

Assessment

Domain
content
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.