Comment

Comment by woodruffw

Blocks and `yield` are a killer feature; I regularly pick Python over Ruby for similar reasons as you, but I consistently find myself missing those two (and all the things that get built out of them, like the `Iterator` APIs).

Python is a lovely language, but context managers often feel like a shabby substitute for what I can do with `yield` in Ruby :-)

parent woodruffw 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton