Hacker News new | ask | show | jobs
by bob29 1248 days ago
>but... we could already do that? that sums up so much. the emperor has no clothes. few see it. its inferior to the modern purpose built tools. we act impressed a simple program can be created from a prompt, what has every programmer been doing already for the last 10 years with google search and stackoverflow?
2 comments

Another comment from this thread seems pretty cool to me. https://github.com/approximatelabs/sketch
I think building regexes is a good example of where chatgpt/copilot is useful. It’s not that it’s particularly difficult or requires much understanding, just very time consuming compared to writing an English language description and walking through an example.
Useful compared to writing a regex in notepad yeah.

Last time I was challenged by regex I easily found very fancy web page with so many nice features. Actual documentation, ability to select a specific regex engine (or implementation or whatever you call it) , real-time results on test data, highlighting that shows how the regex works, etc. and that was years ago I’m sure there’s even better web apps now.

I can’t imagine having a better experience asking AI chat than using a web app made for the purpose

Do you have a link to the site?

Being able give some examples and just state in plain English what you want the capture groups to be is pretty much my ideal regex experience (in other words, I don’t want to think about the semantics of regex ever).

This might be what they're referring to: https://regex101.com/.
That’s what I figured. Maybe it’s just me but for complicated use-cases this still takes me forever to get the right regex string, especially with capture groups.