Conversation
Notices
-
@solderpunk Don't be embarrassed about what you didn't know, be happy that you learned it!
https://xkcd.com/1053/
Generator expression are a simple thing that makes complex things possible. They're not unrelated to things like LINQ in .NET, relational expressions in SQL, or even laziness in languages like Haskell.
-
Yeah, most of the time when you think you want a list as input, in the end you're just going to iterate over it, and then all you need really is an iterable (e.g. list, generator or whatever).
-
@solderpunk I still haven't had my !forth baptism. I'm just admiring it from afar. :-)