Comment

Comment by 1024core

As a former Perl programmer, dabbling in Python, I keep getting reminded how awesome Perl is.

For example: I'm collecting some stats indexed by (small) ints. In Perl, I'd just say

    $collection[$index] = $stat;
Try that in Python when $index is not received in order.

Edit: Fixed typo; meant "$stat" and not "%stat"

parent 1024core 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton