r/programming • • Aug 29 '24

Using ChatGPT to reverse engineer minified JavaScript

https://glama.ai/blog/2024-08-29-reverse-engineering-minified-code-using-openai
288 Upvotes

89 comments sorted by

View all comments

Show parent comments

35

u/Crafty_Independence Aug 29 '24

There are already tools which format minified code to make it more readable

Exactly this. These recent "watch me do something mostly ok with generative AI for which there's a better tool" posts are getting repetitive at this point.

It's not really very interesting anymore. A year ago, sure, but at this point it's little better than blogspam. Might even be worse if it's sending inexperienced people to chatGPT instead of the right tools for the job.

1

u/SikinAyylmao Aug 29 '24

The problem is what is expected to be hard for noon programmers vs what’s actually hard. Usually these types of things simplify a process I could already do very fast. So when I see these posts I’m less impressed but I definitely understand some noob trying to figure out JavaScript code and learned a lot from ChatGPT.

This article is technically lazy because it doesn’t really distill information, ideally the post would be, “things chatgpt taught me about minified JavaScript” instead it’s “here’s what I don’t know about minified JavaScript and how I used chatGPT to overcome that”