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!
자소서 항목 중 자기만의 개발 철학을 작성하라는 문항이 있었다.
다른 사람들은 어떤 개발 철학을 가지고 있는 궁금하여 검색을 하던 도중
Zen of Python 이라는 글을 봤다. 파이썬 언어의 의 젠(선, 철학, 사상?)
python 에서 import this 를 하면 나오는 글귀인데 당연하면서도 지켜야할 것들이 나왔다.
번역은 여기서 확인할 수 있다. https://wikidocs.net/7907
위키독스
온라인 책을 제작 공유하는 플랫폼 서비스
wikidocs.net
모든 문구가 맘에 드는데 특히 두개의 문구가 마음에 든다
Special cases aren't special enough to break the rules. Although practicality beats purity.
특별한 케이스는 규칙을 깨트릴 정도로 특별하지 않다 비록 실용성이 이상을 능가하더라도
실용성이 좋은 특별한 케이스라도, 규칙을 부술만큼 특별하지 않다
일관성의 강조일까
In the face of ambiguity, refuse the temptation to guess.
모호함을 만나면, 추측하려는 시도를 거부하라.
여러가지 가능성이 열린 상황을 만나면, '당연히 이렇겠지'라는 생각을 접자
열린 가능성을 생각하고 나눠서 따로따로 만들던가, 정확하게 문서화를 하여 모호함을 제거하자 👍