Comment

Comment by benhoyt

Simple and useful overview. I find enumerate() quite useful. I should probably define generators more often.

One built-in function I basically never use is zip(). I know how it's used and what it does, and I grok the names/ages types of examples that are always used to explain it. But I've simply never needed it in real code. Anyone else use it often, and in what contexts?

parent benhoyt 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton