Comment by laserlight
6 months ago
Now that we are sharing anecdotes, here's mine. I asked Cursor to implement a very basic thing in Pydantic, in which I lacked any experience. Cursor spitted out what seemed like a mess to me. After many back-and-forths and cross-checking with documentation, I couldn't make it do it the way I thought it should be. I went ahead and studied Pydantic's well-written documentation. Done. Hours of time saved.
Here is mine: I had never used pydantic before, but I know TS very well. "Here is a Typescript type, explain how it would be expressed in Pydantic and the differences in what each type system is able to express."
Boom, instant education on Pydantic through the lens of a language I understand very well.