파이썬철학 :: 2004/06/29 18:29파이썬쉘에서 import this 를 치면, Zen of python(파이썬의 도)를 볼 수 있다.
1. Beautiful is better than ugly. 2. Explicit is better than implicit. 3. Simple is better than complex. 4. Complex is better than complicated. 5. Flat is better than nested. 6. Sparse is better than dense. 7. Readability counts. 8. Special cases aren't special enough to break the rules. 9. Although practicality beats purity. 10. Errors should never pass silently. 11. Unless explicitly silenced. 12. In the face of ambiguity, refuse the temptation to guess. 13. There should be one -- and preferably only one -- obvious way to do it. 14. Although that way may not be obvious at first unless you're Dutch. 15. Now is better than never. 16. Although never is often better than '''right''' now. 17. If the implementation is hard to explain, it's a bad idea. 18. If the implementation is easy to explain, it may be a good idea. 19. Namespaces are one honking great idea -- let's do more of those! 파이썬만의 철학이란 어떤것인가? 파이썬 프로그래밍을 한다함은 그 다양한 온갖 문제해결방법중 어떻게 한다는 것을 의미하는가? 가능한 명확하게 생각을 기술하는 언어라는데 한번 더 동의한다. 전세계의 파이썬코어 개발자들이 저 맘을 갖고 파이썬을 만들테니, 쓰는 입장에서도, 저 말들의 의미를 곱씹어볼 필요가 있다. Trackback Address :: http://yong27.biohackers.net/trackback/29
|
||