the only reliable use i found for it is "awk on steroids". it is absolutely unbeatable at tasks like "write me a python script that reads a file and finds every instance of X while Y and Z are also matched, and print me context C around each match". saved me hundreds of hours.
but beyond that its very hit and miss. you have to ask questions where you know an answer exists, because you're getting a plausible sounding one whether one exists or not.
I find it useful when first encountering a language whose syntax I'm not familiar with. Give it a single line and ask, "what is this doing?" to see if it matches my initial assumption.
Especially given how bad conventional search is at strings like "[..^x]"
the only reliable use i found for it is "awk on steroids". it is absolutely unbeatable at tasks like "write me a python script that reads a file and finds every instance of X while Y and Z are also matched, and print me context C around each match". saved me hundreds of hours.
but beyond that its very hit and miss. you have to ask questions where you know an answer exists, because you're getting a plausible sounding one whether one exists or not.
I find it useful when first encountering a language whose syntax I'm not familiar with. Give it a single line and ask, "what is this doing?" to see if it matches my initial assumption.
Especially given how bad conventional search is at strings like "[..^x]"