Coder Social home page Coder Social logo

rmariano / clean-code-in-python Goto Github PK

View Code? Open in Web Editor NEW
149.0 6.0 31.0 538 KB

Resources for the book Clean code in Python, and material for the talk at EuroPython 2016

License: MIT License

Makefile 2.16% Python 97.41% Shell 0.28% Dockerfile 0.15%
python3 europython books education conference-talk python

clean-code-in-python's Introduction

Hi there ๐Ÿ‘‹

I'm Mariano ๐Ÿ˜ƒ. I'm a software engineer, passionate about the field.

๐Ÿ“š I'm the author of the book Clean code in Python. I also write about software in my blog.

๐Ÿ“ฌ You can reach out to me at LinkedIn.

clean-code-in-python's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar github-actions[bot] avatar rmariano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

clean-code-in-python's Issues

Errata in the book on Page 385

Hi Mariano,

I am reading the Kindle version of the book and would like to query something, I do not know how else to get hold of you.

On page 385 we have the following sentence: "In the simulated version of the third-party client, we put the requirement that the parameters provided must be of string type. Therefore, if the result of the run_process method is not a string,we might expect it to fail, and indeed it does."

I cannot understand why the code just prior to this sentence would fail, since we wrap the result variable with str(). Can you confirm that I am correct in my assessment that the code would not fail? Or am I misunderstanding the description?

It seems that the Process class in example ch08/ut_design_1.py would not fail, but the Process class in example ch08/ut_design_2.py would fail, hence my confusion.

Kind regards,

Dawie Diamond

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.