Gratis Versand in ganz Deutschland
Bookbot

Brett Slatkin

    Efektywny Python. 90 sposobów na lepszy kod
    Effective Python. 59 Specific Ways to Write Better Python
    Effektiv Python programmieren
    • Dieses Buch bietet bewährte Verfahren, Tipps und Tricks für robusten, leistungsfähigen und wartungsfreundlichen Code. Es hilft, grundlegende Aufgaben effektiver zu erledigen und bietet Lösungen für Debugging, Testing und Optimierung, um die Qualität und Performance zu steigern. Die einfache Einstiegsmöglichkeit in die Python-Programmierung macht die Sprache beliebt, doch ihre einzigartigen Stärken sind nicht immer offensichtlich. Der Autor vermittelt eine Python-typische Herangehensweise und nutzt die Sprache, um stabilen und schnellen Code zu schreiben. Mit 59 bewährten Verfahren, die anhand praxisnaher Beispiele erläutert werden, orientiert sich der Stil an Scott Meyers' Buch über C++. Basierend auf jahrelanger Erfahrung bei Google zeigt der Autor weniger bekannte Eigenarten und Sprachelemente, die das Verhalten und die Performance des Codes beeinflussen. Leser lernen, wie sie grundlegende Aufgaben effizienter erledigen und wartungsfreundlicheren Code schreiben können. Der Inhalt umfasst umsetzbare Richtlinien für Python 2 und 3, präzise Definition von Systemverhalten mit Klassen, den Umgang mit Stolpersteinen bei Metaklassen, effizientere Ansätze für Nebenläufigkeit und Tipps zur Nutzung von Standardmodulen. Die Abschnitte sind eigenständige Lektionen, die leicht durchstöbert und in beliebiger Reihenfolge studiert werden können, was das Buch zu einem kompakten Nachschlagewerk für fortgeschrittene Einsteiger macht.

      Effektiv Python programmieren
    • Starting with Python is easy, contributing to its popularity. However, its unique strengths and expressivity can be challenging to grasp initially, and there are hidden pitfalls that can lead to errors. This guide helps you leverage Python's full potential to write robust, efficient, and maintainable code. Following a scenario-driven style similar to Scott Meyers's Effective C++, the author presents 53 best practices, tips, and realistic examples from expert programmers. Through these examples, you’ll discover lesser-known quirks and idioms that significantly influence code behavior and performance. You'll learn to choose the most effective methods for various tasks and write clearer, more maintainable code. Drawing on extensive knowledge of Python's capabilities, the author provides practical advice applicable to both Python 3.x and 2.x. Topics covered include algorithms, objects, concurrency, collaboration, built-in modules, and production techniques. Each section features actionable guidelines organized into items, with well-crafted advice supported by technical arguments and illustrative examples. By using this guide, you can enhance your Python coding skills through a deep understanding of the technical reasons behind effective practices, rather than merely following rules or mimicking complex idioms.

      Effective Python. 59 Specific Ways to Write Better Python
    • Python zyskuje na popularności wśród programistów dzięki swojej wszechstronności i efektywności, umożliwiając tworzenie wysokiej jakości oprogramowania. Jednak, aby osiągnąć imponujące rezultaty w zakresie wydajności, przenaszalności i bezpieczeństwa, konieczne jest zrozumienie subtelnych niuansów kodowania. Doświadczeni programiści mogą nie dostrzegać tych zależności, a nowicjusze mogą napotkać zaskakujące trudności, jeśli nie unikną typowych błędów. To zaktualizowane wydanie podręcznika programowania w duchu Pythona oferuje materiały do tworzenia solidnego i wydajnego kodu źródłowego. Książka jest zwięzła i przemyślana, oparta na scenariuszach, co ułatwia przyswojenie 90 najlepszych praktyk, wskazówek i skrótów, ilustrowanych rzeczywistymi przykładami kodu. Znajdziesz tu mało znane sztuczki i techniki, które poprawią jakość Twojego kodu. W tej edycji zaktualizowano treści do Pythona 3, a przykłady kodu zostały udoskonalone. Oferuje nowe rozwiązania w kluczowych obszarach programowania, techniki korzystania z konstrukcji składanych i funkcji generatorów, a także wskazówki dotyczące klas, obiektów, metaklas i atrybutów dynamicznych. Porusza również tematy współbieżności, równoległości, optymalizacji oraz bezpieczeństwa kodu, a także narzędzia do debugowania i testowania oraz najlepsze praktyki w pracy zespołowej.

      Efektywny Python. 90 sposobów na lepszy kod