Python Tricks: A Buffet of Awesome Python Features
M**T
Znakomita, nadal aktualna
Znakomita książka dla osób które potrafią co nieco programować w Pythonie, ale zdają sobie sprawę, że są w tym języku pewne konstrukcje, które nie wiadomo do czego służą, nie wiadomo w jakich sytuacjach warto z nich skorzystać, do czego mogą być potrzebne i są często pomijane w tutorialach dla początkujących. Autor świetnie nawiązuje do własnych doświadczeń, wskazując na te elementy, których sam do końca nie rozumiał i nie używał programując kiedyś w Pythonie. W bardzo przystępny sposób, na trafionych przykładach, rozkłada na czynniki pierwsze przeznaczenie takich elementów, potencjalne scenariusze wykorzystania i potencjalne błędy jakie mogą wynikać z braku zrozumienia ich mechaniki działania. Dodatkowo do książki dostajemy dostęp do 12-stu dodatkowych lekcji video. Fajny, lekki język, trafiona tematyka, sprawiająca że czytając wstęp rozdziałów czytelnik zdaje sobie sprawę, że ma podobne odczucia co autor na początku jego kariery programowania. Wzbudza to naturalną ciekawość, po co to jest, jak działa i czy potrzebuję z tego kiedykolwiek korzystać. Książka nadal aktualna w roku 2024, warta zakupu. Przyzwoite wydanie papierowe. Polecam.
S**K
Good to read
Explanation is really good.
M**R
I love it, it enhaced my meager skills
I am relatively new to python and it helped me to find good ways of how doing it in python nice and efficiently.The stile and the structure of the chapters helped me improving my python and getting deeper into development.
B**N
Great resource for intermediate Python users to round out their knowledge of the language
I consider myself an 'early intermediate' Pythonista, with about three years of self-taught experience in the language, bolstered by all the good resources out there online. I first ran across Dan's page/blog through a Twitter link, I think, and have really enjoyed his Python Tricks emails. Some of them aren't news to me, but there have been multiple instances where they've given me a key insight into the behavior of Python, or an idea that's helped me improve my projects.As he notes in the Introduction, this book grew out of the Python Tricks emails, and it really shows. Dan has a knack for constructing code snippets that illustrate Python concepts in very few lines, and also for writing extremely clear descriptions of why they behave as they do. Further, even though Dan has years of Python experience, it seems clear to me he hasn't lost the sense of the ways in which Python can be confusing to new learners. I've only sampled here and there from his Buffet at this point, but have already gained two new concrete pieces of knowledge: bytearrays are mutable whereas bytes are not; and all it takes to create an abstract base class is to use metaclass=ABCMeta and decorate as needed with @abstractmethod. Even though I'd looked at the Python documentation for both of these before, I never quite understood either of them. But, Dan's phrasing and presentation made them crystal clear on my first read.One additional thing I like about the book is how Dan has included bits and pieces of his philosophy on Python, programming, writing good code, etc. Some people might be turned off by the editorializing, I suppose, but I really appreciate that the book provides these sorts of "meta" perspectives.All in all, an excellent resource for someone with modest to moderate Python experience looking to round out their knowledge of some of the more subtle features/behaviors of the language.
L**S
effective tricks for day to day development
it does not go to how you should develop in python so that your code is pure and perfect ( but noone understand it). he goes where it matters : efficient, useable and what you need when developping in Python on a daily basis