Get the latest tech news

Shape typing in Python


While I was looking the other way, Python got advanced static types! Here’s matrix multiplication, describing the input shapes and its output shape:

I got started with simple web development, but because enamored with increasingly esoteric programming concepts, leading to a “trough of hipster technologies” before returning to more productive work. Bob invents asymmetric cryptography by playing loud white noise to obscure Alice’s message, which he can cancel out but an eavesdropper cannot. Businesses often tout “free” services, but the real costs come in terms of time, thought, and typing required from users.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of python

python

Photo of Shape Typing

Shape Typing

Related news:

News photo

Fedora 41 Looks To "-O3" Optimizations For Its Python Build

News photo

Linux Becomes a CVE Numbering Authority (Like Curl and Python). Is This a Turning Point?

News photo

Three Packages Targeting Linux with Crypto Miners Found in Python's 'PyPi' Repository