Other articles


  1. Numpy and mypy type checking - 2021 August 11

    Getting numpy to work with mypy requires installing the right package and making a few configuration changes.


    read more
  2. SQLAlchemy and mypy type checking - 2021 August 10

    Getting SQLAlchemy to work with mypy requires installing the right package and making a few configuration changes.


    read more
  3. Beware of Python assertions in production code - 2021 July 18

    Python assertions have a few important downsides that need to be discussed.


    read more
  4. Sentinel objects and mypy type checking - 2021 July 16

    There's a few annoying edge cases with using sentinel objects with mypy. Since I think both sentinel objects are useful and mypy is useful I want to be able to use both.


    read more
  5. The fmt library - 2021 March 26

    Recently I found out about the fmt library for C++ and I like what I see (so far at least)


    read more
  6. How wide are the underlying data types for Python integers - 2021 March 11

    Here's how you can find out how many bytes wide the underlying data structures are for Python integers.


    read more
  7. Dependency management in code files is not great - 2021 January 03

    Managing dependencies via executable code files seems OK but actually turns into a massive pain, here's why.


    read more
  8. Default parameters and sentinel objects - 2020 August 18

    How you can use sentinel objects to define default parameters in Python without running into the mutable default parameter pitfall.


    read more
  9. Python's data model and intuitive operators - 2020 July 11

    Being familiar with the implications of Python's data model will help you be able to make more intuitive APIs.


    read more

Page 1 / 6 »