Computer Things

Subscribe
Archives
  Back to the email
Steve Phillips / @elimisteve
Jan. 29, 2025, evening

Reasonable post overall, but in defense of Python, instead of

[i for i, (a, b) in enumerate(zip(x, y)) if a == b]

you could do

[i for i in range(len(x)) if x[i] == y[i]]

...and in my new, currently-unannounced programming language, Voltair, one could do

[i for i in 0 to x.len if x[i] == y[i]]

Reply Report
This email brought to you by Buttondown, the easiest way to start and grow your newsletter.