|
You are here |
kishstats.com | ||
| | | | |
florimond.dev
|
|
| | | | | Type hints add optional static typing to Python 3.5+, and I love them. I now use annotated variables throughout my projects. | |
| | | | |
www.integralist.co.uk
|
|
| | | | | Introduction This post is going to cover a few tools and features I plan on using when writing Python code in 2019. I've grouped these into the following sections: Type Hints and Static Analysis Interfaces, Protocols and Abstract Methods Dependency Management (with pipenv) (OUTDATED! ?) ? read my post "Python Management and Project Dependencies". But before we get into it... time for some self-promotion ?? Want to be up and running quickly with Python? | |
| | | | |
hackycode.com
|
|
| | | | | The Problem I was recently working on a project and decided to use Tortoise ORM. I appreciated the small footprint, ease of use, and the first class async support. However, I was disappointed to find that it didn't support parameter hints when creating an instance of a model. The IDE only shows **kwargs when creating a Tortoise ORM model instance Working Towards a Solution Libraries like PyDantic and msgspec already support this feature, so I knew it must be possible. | |
| | | | |
sookocheff.com
|
|
| | | Lambda calculus provides some of the foundational structures that functional programming is built from. It therefore seems fitting to start my journey through functional programming with a thorough examination of lambda calculus. This first post will introduce Lambda calculus with references to the book An Introduction to Functional Programming Through Lambda Calculus. Syntax The complete syntax for Lambda calculus is surprisingly small and comprehensible. This section lists the syntax in its entirety, while following sections break the syntax down to explain each part. | ||