Buch-OWLOnline-Buchhandel

Beyond the Basic Stuff with Python

Best Practices for Writing Clean Code

von Al Sweigart

Einband
Kartoniert
Sprache
Englisch
Erschienen
Januar 2021
Verlag
Random House LLC US

Buchbeschreibung

BRIDGE THE GAP BETWEEN NOVICE AND PROFESSIONAL

You've completed a basic Python programming tutorial or finished Al Sweigart's bestseller, Automate the Boring Stuff with Python. What's the next step toward becoming a capable, confident software developer?

Ganze Beschreibung lesenWeniger anzeigen

Welcome to Beyond the Basic Stuff with Python. More than a mere collection of advanced syntax and masterful tips for writing clean code, you'll learn how to advance your Python programming skills by using the command line and other professional tools like code for matters, type checkers, linters, and version control.

Sweigart takes you through best practices for setting up your development environment, naming variables, and improving readability, then tackles documentation, organization and performance measurement, as well as object-oriented design and the Big-O algorithm analysis commonly used in coding interviews. The skills you learn will boost your ability to program--not just in Python but in any language.

You'll learn:

  • Coding style, and how to use Python's Black auto-formatting tool for cleaner code
  • Common sources of bugs, and how to detect them with static analyzers
  • How to structure the files in your code projects with the Cookie cutter template tool
  • Functional programming techniques like lambda and higher-order functions
  • How to profile the speed of your code with Python's built-in time it and cProfile modules
  • The computer science behind Big-O algorithm analysis
  • How to make your comments and doc strings informative, and how often to write them
  • How to create classes in object-oriented programming, and why they're used to organize code

Toward the end of the book you'll read a detailed source-code breakdown of two classic command-line games, the Tower of Hanoi (a logic puzzle) and Four-in-a-Row (a two-player tile-dropping game), and a breakdown of how their code follows the book's best practices. You'll test your skills by implementing the program yourself.

Of course, no single book can make you a professional software developer. But Beyond the Basic Stuff with Python will get you further down that path and make you a better programmer, as you learn to write readable code that's easy to debug and perfectly Pythonic

Requirements: Covers Python 3.6 and higher

Inhaltsverzeichnis

  • Introduction
  • Part I: Getting Started
  • 1. Dealing with Errors and Asking for Help
  • 2. Environmental Setup
  • 3. Formatting with the Black Module
  • Part II: Best Practices, Tools, and Techniques
  • 4. Choosing Useful Names
  • 5. Finding Code Smells
Ganzes Inhaltsverzeichnis anzeigen (24 Einträge)Weniger anzeigen
  • 6. Writing Pythonic Code
  • 7. Programming Jargon
  • 8. Common Python Gotchas
  • 9. Esoteric Python Oddities
  • 10. Crafting Effective Functions
  • 11. Comments and Type Hints
  • 12. Version Control with Git
  • 13. Profiling Code
  • Part III: Practice Problems
  • 14. Tower of Hanoi
  • 15. Connect Four
  • Part IV: Readable Object-Oriented Programming
  • 16. Classes and Objects
  • 17. Inheritance
  • 18. Pythonic Object-Oriented Programming
  • Index

Details

Erscheinungstermin
Januar 2021
Kategorie
Fremdsprachige Bücher
Einband
Kartoniert
Sprache
Englisch
Verlag
Random House LLC US
Format
23,6 × 17,5 cm
Dicke
2,5 cm
Gewicht
756 g
EAN / ISBN-13
9781593279660
Maßstabsgetreu: Deckel und Buchrücken neben einer Hand (18 cm).

Über Al Sweigart

Al Sweigart is a professional software developer who teaches programming to kids and adults. Sweigart has written several bestselling programming books for beginners, including Automate the Boring …

Mehr über Al SweigartWeniger anzeigen

Sweigart has written several bestselling programming books for beginners, including Automate the Boring Stuff with Python, Invent Your Own Computer Games with Python, Coding with Minecraft, and Cracking Codes with Python (all from No Starch Press).

Versand und Rückgabe

Standardversand: 1 bis 3 Werktage, 3,99 €, kostenlos ab 35 €

Versandbeginn: in der Regel am selben oder am nächsten Werktag

Liefergebiet: Deutschland

Rücksendung: 14 Tage Widerrufsrecht. Bei einem Widerruf tragen Sie die Kosten der Rücksendung. Bei einer Falschlieferung oder einem Fehler von uns erstatten wir Ihnen das Rückporto. Den Widerruf erklären Sie über den Knopf „Vertrag widerrufen“ im Fuß der Seite.

Hersteller und Produktsicherheiteucomply OÜ
eucomply OÜ
Pärnu mnt. 139b – 14
11317 Tallinn
Estland
hello@eucompliancepartner.com

Mehr von Al Sweigart

Ähnliche Titel

Bewertungen

Zu diesem Titel gibt es noch keine Bewertung. Bewerten kann, wer ihn bei uns gekauft hat.

So prüfen wir Bewertungen
Eine Bewertung kann bei uns nur abgeben, wer den Titel über sein Kundenkonto bei uns gekauft hat. Jede Bewertung ist fest mit der zugehörigen Bestellung verknüpft; anders kommt sie technisch gar nicht zustande. Deshalb trägt jede angezeigte Bewertung den Hinweis „Verifizierter Kauf". Wir zeigen positive wie negative Bewertungen und löschen nur bei Rechtsverstößen. Für Bewertungen gibt es keine Gegenleistung.
40,00 €Voraussichtlich 27. Nov. bis 1. Dez.

Inhalte ab 18

Cover von Titeln für Erwachsene, etwa erotische Romane, Manga oder Comics, bleiben unscharf, bis Sie bestätigen. Die Bestätigung gilt für alle Seiten und Tabs, bis Sie den Browser schließen.

Zurück zum Katalog