Today I learnt about @cached_property in python Jesper Dramsch functools, python, today i learned, read in 3 minutes As a classically trained physicist, my natural style of programming is functional. But in production-level code, we usually want a mix of classes and August 26, 2023
Sorting your values can speed up your code Jesper Dramsch functools, python, today i learned, read in 2 minutes I was working on the Advent of Code puzzle 2022 day 16. It's one of those "which one is the highest value path" problems, December 16, 2022