You claim no JavaScript experience, declare confident in the comments and include any examples.
All you’ve really said here is you vibed coded a solution to a problem using one of the most common languages without knowing the language. And made claims you do not attempt to prove.
I know enough to parse the code, especially with the comments. It was a logical algorithm, it worked, and it was just for reformatting a page to print cleanly, so there was basically no risk if it didn’t work. I code for work, I just don’t know JavaScript syntax or functions.
Anyway, I was impressed it actually worked. I’m an AI skeptic, which is why I thought it was noteworthy to get well documented, clean, functional code from vibe coding—even in such a trivial context as swapping a head tag and removing script tags.
a trivial context as swapping a head tag and removing script tags.
Very curious what it actually generated here because that sounds really basic but as coders we tend to downplay complexity when describing things (why our documentation is often bad) so maybe it’s more than just some trivial dom manipulation.
You claim no JavaScript experience, declare confident in the comments and include any examples.
All you’ve really said here is you vibed coded a solution to a problem using one of the most common languages without knowing the language. And made claims you do not attempt to prove.
I know enough to parse the code, especially with the comments. It was a logical algorithm, it worked, and it was just for reformatting a page to print cleanly, so there was basically no risk if it didn’t work. I code for work, I just don’t know JavaScript syntax or functions.
Anyway, I was impressed it actually worked. I’m an AI skeptic, which is why I thought it was noteworthy to get well documented, clean, functional code from vibe coding—even in such a trivial context as swapping a head tag and removing script tags.
Very curious what it actually generated here because that sounds really basic but as coders we tend to downplay complexity when describing things (why our documentation is often bad) so maybe it’s more than just some trivial dom manipulation.