Live data from Hacker News

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

spaghettify.dev

21–30 of 70 posts

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

#23

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.

"privite" and "private" and "privet" but there are #defines to make them work anyway.

I actually saw code that looked like that from a very dyslexic mate of mine who I worked with a long time ago.

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

#25

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.

also, common capitalization mixups: "ID vs. Id", "snapshot vs. snapShot", "username vs. userName"

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

#28
What (presumably!) was built as a joke will actually help me a lot. For my side-project (devscreen.io) we have to make lots of realistic coding tests and pull requests with bugs in them for candidates to work on as part of a technical interview. It's actually more time consuming than you'd think to intentionally insert bugs into code in a way that isn't super obvious, so thank you!

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

#29

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.

Emojis as class and variable names

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

#30

What (presumably!) was built as a joke will actually help me a lot. For my side-project (devscreen.io) we have to make lots of realistic coding tests and pull requests with bugs in them for candidates to work on as part of a technical interview. It's actually more time consuming than you'd think to intentionally insert bugs into code in a way that isn't super obvious, so thank you!

I think use cases like this are the right ones for generated code from language models.

I'm pretty sure the vast majority of training data is more buggy than not and literally writing the code is only half of what it takes. The other half is comprehension of the problem it solves which is usually missing from documentation at the level of mere snippets.

Post reply on HN