Sep 23 – 27, 2024
ESRF Auditorium
Europe/Paris timezone

Python as a Statically Typed Language

Sep 26, 2024, 5:25 PM
15m
Hybrid event (ESRF Auditorium)

Hybrid event

ESRF Auditorium

EPN Campus ESRF - ILL 71 Av. des Martyrs, 38000 Grenoble
Talk Research Software Engineering Research Software Engineering

Speaker

Callum Forrester

Description

Since the introduction of type annotations in python3.x and the arrival of static analysis packages like mypy and pyright, more and more Python code is statically typed. Type systems work by providing compile-time error checking and a fast feedback loop for particular types of error at the expense of increasing verbosity and reducing the overall number of possible programs a language can produce to a type-safe subset. For these reasons there has been some resistance to adopting typing in Python due to its historical position as a very simple, versatile language and easy in-route for novices and dabblers. However at Diamond we feel there is a good case for adopting it everywhere and treating Python as a statically typed language, especially for facility-scale software developed in close collaboration with users.

Abstract publication I agree that the abstract will be published on the web site

Primary author

Presentation materials