News for hackers. Stuff that matters.
Re:Stop writing CLI validation. Parse it right the first time by HL33tibCe7 on Saturday September 06, 2025 @05:47PM (#45153174)
Stopped reading after realising this is written by ChatGPT
Re:Stop writing CLI validation. Parse it right the first time by bfung on Saturday September 06, 2025 @05:56PM (#45153243)
Looked human-ish to me, what signs did you see?
Re:Stop writing CLI validation. Parse it right the first time by bobbiechen on Sunday September 07, 2025 @01:14AM (#45155590)
I thought the style was like ChatGPT in a "clever, casual, snarky" prompt flavor as well. I see it a lot on LinkedIn especially in sentence structures like these:

"Invalid data? The parser rejects it. Done."

"That validation logic that used to be 30% of my CLI code? Gone."

"Mutually exclusive groups? Sure. Context-dependent options? Why not."

For me this really piled on at the end of the blog post. But maybe it's just personal style too.

Re:Stop writing CLI validation. Parse it right the first time by cazum on Saturday September 06, 2025 @06:02PM (#45153278)
What makes you think that and not that it's just an average auto-translate job from the author's native language (Korean)?
Re:Stop writing CLI validation. Parse it right the first time by urxvtcd on Saturday September 06, 2025 @06:30PM (#45153502)
I’ll go one step further: what makes you think it’s an average auto-translate job? I didn’t notice anything weird, felt like your average, slightly ranty HN post. I’m not a native speaker though.
Re:Stop writing CLI validation. Parse it right the first time by akoboldfrying on Saturday September 06, 2025 @09:43PM (#45154607)
I found the content novel and helpful (applying a known but underappreciated technique (Parse, Don't Validate) to a common problem where I hadn't thought to use it before) and the tone very enjoyable. In fact, it's so idiomatically written that I can't even believe it's just a machine translation of something written in another language.

In short, a great article.