Live data from Hacker News

Show HN: Spaghettify – A VSCode Extension to make your code worse with AI

spaghettify.dev

11–20 of 70 posts

Re: Show HN: Spaghettify – A VSCode Extension to make your code worse with AI

#13
post #9

How creative! Did you consider adding wrong comments? Because those are the worst! like flip the logic from arithmetic to subtraction and then have the bot summarize that.

That's a really good one. Like the 'introduce bug' one, but just the comments are factually incorrect.

Re: Show HN: Spaghettify – A VSCode Extension to make your code worse with AI

#14

Am I the only one that found the more explicitly named definition way easier to read? Sure the definition name was too large, but the inner variables were great.

There have been many moments in building this thing where I expected something terrible and got something that actually looked better than what I had.

Re: Show HN: Spaghettify – A VSCode Extension to make your code worse with AI

#15

Are there any examples to enjoy for my amusement without installing & setting up the extension? Edit: nevermind, just found the home page: https://www.spaghettify.dev/

Also, it's open source and all the prompts we use are in this file:

https://github.com/BeforeCutieAfterDoggo/spaghettify/blob/ma...

You can take these and play around with them in the OpenAI playground as well.

Re: Show HN: Spaghettify – A VSCode Extension to make your code worse with AI

#16

Am I the only one that found the more explicitly named definition way easier to read? Sure the definition name was too large, but the inner variables were great.

Nah. I worked at a company that had a code style guide encouraging very verbose variable naming. It was awesome.

Re: Show HN: Spaghettify – A VSCode Extension to make your code worse with AI

#17
The little animation at the top wraps when it gets to “Well Documented” on mobile. The whole page keeps shifting up and down. It’s really hard to read. Maybe it’s on purpose but just pointing it out. It detracted from the comedy for me. Otherwise love the gag.

Re: Show HN: Spaghettify – A VSCode Extension to make your code worse with AI

#18
post #17

The little animation at the top wraps when it gets to “Well Documented” on mobile. The whole page keeps shifting up and down. It’s really hard to read. Maybe it’s on purpose but just pointing it out. It detracted from the comedy for me. Otherwise love the gag.

Ah, good catch. Will fix.

Re: Show HN: Spaghettify – A VSCode Extension to make your code worse with AI

#19
Oh can you have it add code blocks that are commented out?

And have it do the opposite of "Extract a method" - oh and have a class call a method on another class that calls a method on another class that calls a method on the original class (but for every single thing that needs to happen in the critical path)?

If you can't, I have some developers I'm cleaning up after who can...

Re: Show HN: Spaghettify – A VSCode Extension to make your code worse with AI

#20
Awesome.

Evil ideas for improvements.

Random typos in class name, function names, comments, such as: inheritance -> enheritance class -> clas cannot -> cannont

Pick related words: person -> user, account, customer

Random swapping plural/singular users -> user

Append "Class" to classnames. example: User -> UsersClass

Insert rant comments about, politics, religion, profanity.

Post reply on HN