Comment

Comment by TameAntelope

I would argue it's less readable, substantially. Type hinting was never about readability, it was about getting IDEs/tools to do type checking for you.

     def max_width_of_vertical_area(points):
        xs = sorted(x for x, _ in points)
        return max(x2-x1 for x1, x2 in zip(xs, xs[1:]))
Just seems easier...

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton