Live data from Hacker News

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

spaghettify.dev

1–10 of 70 posts

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

#1
Recently, I saw Github Next Code Brushes (https://githubnext.com/projects/code-brushes) which is a VSCode extension that can use AI to do things like make your code more readable, add types, etc.

This inspired me: what if there was an extension that could use AI to make your code worse as well?

Meet Spaghettify. An extension I developed that can do things like:

- Obscure your code

- Introduce a bug

- Make the variable names way too descriptive

- Use nonsymmetrical whitespace

- Add irrelevant/rambling comments

- Document the code with emoji

- Document the code in any style (Dirty Limerick, Fast Talkin' 1930s Gangster)

I built this extension over the last couple of days and released it in collaboration with BCAD.one. It's available on the VSCode Marketplace, you will need an OpenAI API Key to use it. You can grab it here:

(https://marketplace.visualstudio.com/items?itemName=BCAD.spa...)

Code here:

https://github.com/BeforeCutieAfterDoggo/spaghettify

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

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

#8
post #6

The obfuscation is a little too obvious. The people need something which defends their job security but still passes code review.

Involve a few layers of unneeded steps of indirection via a few hyped technologies. Now obfuscation is not easily removed. Beware, it may bite the creators themselves

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

#10

>A VSCode Extension to make your code worse with AI >Document the code with emoji >Document the code in any style (Dirty Limerick, Fast Talkin' 1930s Gangster) >worse TIL I've been coding wrong my whole life. But it's the only way I know...

Wow, fast talkin' 1930s gangster documentation is pretty remarkable.

>> Listen up, ya mugs! I'm gonna give ya the lowdown on dis here function, getSourceImage().

>> Dis baby is the real deal. It's gonna give ya the goods on the source image. Ya got it? The source image! No more guessin' or snoopin' around, dis function'll give ya the straight dope.

Post reply on HN