Python 철학
본격적으로 설명 나가기전에, 왜 Python인가 하는 의문을 가지는 사람도 있을것입니다.
사실 저도 Python을 접하기전에 "왜?" 가 제일 궁금했었습니다.
아래와 같이 "import this" 입력하면 파이썬 철학이 출렵됩니다.
저런 철학적 이유 때문에 Python을 사용하는거겠죠.
>> import this //출력결과 The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules. Although practicality beats purity. Errors should never pass silently. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. There should be one-- and preferably only one --obvious way to do it. Although that way may not be obvious at first unless you're Dutch. Now is better than never. Although never is often better than *right* now. If the implementation is hard to explain, it's a bad idea. If the implementation is easy to explain, it may be a good idea. Namespaces are one honking great idea -- let's do more of those!
'프로그래밍 > Python' 카테고리의 다른 글
[Python] Linux(우분투) Python 설치 (0) | 2016.04.19 |
---|---|
[Python] 기본 자료형이란? (0) | 2016.04.13 |
[Python] Python IDE 소개 및 개발 환경 (0) | 2016.04.10 |
[Python] Python 설치하기 (0) | 2016.04.08 |
[Python] Python 이란? (0) | 2016.04.04 |