파이썬 클래스 설명
-
78 - (파이썬) 객체 지향 프로그래밍study with Q - 파이썬 2024. 8. 26. 19:04
# 1. 프로그래밍 이념: 더 좋은 프로그램을 향해서 다가가는 접근 방법: 어떻게 하면 프로그램을 더 좋게 만들 수 있을 것인가 강의에서는 종교라고도 했는데 날으는 스파게티 괴물교도 아니고... 그냥 열정 넘치는 신념 정도로 생각하면 되지 않을까약간... 부먹파 찍먹파.. 막먹파 정도나 붕당정치 정도... ## 1-1. 객체 지향 프로그래밍- 변수와 함수를 묶어서 하나의 묶음으로 만들면 더 좋은 프로그램(aka 규모가 큰 프로그램)을 만들 수 있을 것이다. ## 1-2. 절차적 프로그래밍: 서브루틴, 프로시저, 함수- 같은 코드를 여러 번 작성하지 말고 함수를 만들어서 사용하자!- GOTO 구문, JUMP 구문을 사용하지 말고 함수를 사용하자! (파이썬 라잌댓) ## 1-3. 함수형 프로그래밍- 함수..