Hacker News new | ask | show | jobs
by macintux 1558 days ago
Something that seemed common in Erlang, but less so in Python, was to annotate numbers using tuples. If you used both radians and degrees in a single code base, they’d be passed around as named tuples.