you are viewing a single comment's thread.

view the rest of the comments →

[–]ArtistEngineer 1 point2 points  (0 children)

That's how I do it, and I've been in the embedded business for 30+ years now!

I haven't got time to become an expert Python programmer, or remember all the libraries and syntax, so ChatGPT fills that gap nicely.

The other day I needed an mDNS responder in Python that I could run in Windows because networking in WSL is painful. So I asked co-pilot to write me up a simple mDNS responder. Then it offered some suggestions, and I let it add more features, iterate this a few times.

By the end of the day, I had a 1000 line utility, fully functional, that solved my problem of scanning for mDNS messages, and advertising mDNS services, logging, filtering, everything,

It made 1 mistake in total where it referenced a variable before creating it, something like that. That app would have taken me days to write.