4 ms·
For me, the big aha moment with Python specifically was grokking list comprehensions. That was a great day.
by hartleybrody 12y ago
For me, the big aha moment with Python specifically was grokking list comprehensions. That was a great day.
- sergiosgc 12y agoTrue. The moment you realize you rarely ever need a classical for cycle -- for (i=0;i<100;i++) -- is truly a Aha moment.
- deckiedan 12y agoAlso related, the whole generator/iterator pattern, and how by designing your logic into the right kind of objects, you can create extremely elegant interfaces.
- nsomaru 12y agocould you point out some resources for the same?