python skill of coding

1.[Python] Skill of coding - 리스트컴프리헨션

post-thumbnail

2.[Python] Skill of coding - comprehension이 클 때는 generator

post-thumbnail

3.[Python] Skill of coding - iterator를 병렬로 처리하려면 zip을 사용하자

post-thumbnail

4.[Python] Skill of coding - loop문 뒤 else쓰지않기

post-thumbnail

5.[Python] Skill of coding - try/except/else/finaly

post-thumbnail

6.[Python] Skill of coding - None말고 예외

post-thumbnail

7.[Python] Skill of coding - 클로저 변수와 스코프

post-thumbnail

8.[Python] Skill of coding - range보다는 enumerate를

post-thumbnail

9.[Python] Skill of coding - 리스트 대신 제너레이터?

post-thumbnail

10.[Python] Skill of coding - 인수를 순회할 때는 방어적으로

post-thumbnail

11.[Python] Skill of coding - *args로 깔끔하게

post-thumbnail

12.[Python] Skill of coding - keyword args의 동작

post-thumbnail

13.[Python] Skill of coding - 동적 기본 인수를 지정 시 None과 docstring 사용

post-thumbnail

14.[Python] Skill of coding - 키워드 전용 인수로 명료성을 강요

post-thumbnail

15.[Python] Skill of coding - 딕셔너리와 튜플보다는 헬퍼 클래스로 관리하기

post-thumbnail

16.[Python] Skill of coding - 인터페이스가 간단하면 클래스 대신 함수를 받자

post-thumbnail

17.[Python] Skill of coding - @classmethod 다형성을 이용

post-thumbnail

18.[Python] Skill of coding - super로 부모 클래스를 초기화 하자

post-thumbnail