| ▲ | klibertp an hour ago | |
I got curious and checked: CLU had iterators in 1975. > Another key feature of the CLU type system are iterators It also had exception handling and tuple unpacking! > For instance, writing x,y := y,x would exchange values of x and y (I'm joking, that's "just" parallel assignment, it just looks like what you do in modern Python with unpacking. And yes, it's all from 1975.) Details: https://en.wikipedia.org/wiki/CLU_(programming_language) | ||