Giter Site home page Giter Site logo

typing-tips's Introduction

I'm a software engineer. Some of my interests include:

  • Formal languages
  • Functional programming
  • Web development

Writing

  • typing-tips, a collection of articles about Python's gradual typing system
  • py-simpleparser — my hot take on parsing unstructured data

Linters

Experimental stuff and explorations

Other platforms

Contact me

typing-tips's People

Contributors

anand2312 avatar decorator-factory avatar shakyamajumdar avatar shtlrs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

typing-tips's Issues

Feedback

This is really good! I read through it all and mostly have feedback around shiny new features you could be using, though obviously those depend on the Python version your audience is using.

  • TypeVar: Does it make sense to focus on using bound= instead? I feel like bounded typevars are generally easier to understand than TypeVars with multiple constraints.
  • Optional could also mention the | None syntax from 3.10, which is more explicit.
  • Instead of NoReturn, 3.11 will probably allow Never instead.
  • The TypedDict example could use typing_extensions.Required/NotRequired instead of the awkward MovieOptional base class.

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.