티스토리 뷰

Python

[Python] 파이썬 철학

볼봇 2016. 7. 8. 22:42

import this



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!




- 아름다운것이 추한것 보다 낫다.

- 명확한 것이 함축적인것보다 낫다.

- 단순한것이 복잡한것보다 낫다

- 복잡한 것이 난해한 것보다 낫다.

- 단조로운 것이 뒤엉킨 것보다 낫다.

- 분포되어 있는 것이 빽빽한 것보다 낫다.

- 가동성은 중요하다.

- 특별한 경우라 하더라고 규칙을 어길 수 있을만큼 특별하지 않다.

- 비록 실용성이 순수함을앞 선다 할지라도

오류를 절때 조용히 넘기면 안 된다.

-분명하게 조용하지 않는한,

모호한 상황에서도 추측하려는 유횩을 떨쳐내야 한다.

- 그것을 할 수 있는 분명한 한 가지 방법이 있어야 한다 그 방법이 유일하다면 더 좋다.

댓글
12-11 14:17
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2025/12   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
글 보관함