
Discovering Libraries via AI Assistants

#165 - Learning to Program in the Era of Generative AI - Leo Porter & Daniel Zingaro
Topic 5 of 10
Published Mar 4, 2024 · Clip 29:25–33:31 (4:06)
Beyond asking for code, the guests highlight using LLMs to discover libraries and modules that automate tedious tasks. Dan gives the book example of deduplicating two large photo directories by asking the LLM which Python library can detect duplicate images. Leo recounts a lecture where, in about 15 minutes with Copilot, he and students found a library and wrote code to count words in Word documents — something normally impossible in a CS-1. They note this raises students' abstraction level past tedious API docs and builds resilience by exposing them to many libraries and domains.