Posts Tagged ‘whenofpython’

The When of Python

Monday, May 1st, 2023

SOFA Statistics (and SOFA Lite) are both written in Python. SOFA Statistics was originally written in Python2 and ported into Python3. SOFA Lite is being written in Python 3.11 from the ground up and tries to use the best features that modern Python provides. Not all features added to Python recently are good features and sometimes it is hard to know which of multiple alternatives should be used – for example, should we use collections.namedtuple, typing.namedtuple, or dataclasses.dataclass? Which is where the When of Python project comes in – tag line:

Shrinking Python to fit our brains by providing guidance on when to use language features (and when not to)

Find out more at and try out the demo app at The project can also be followed at