News for hackers. Stuff that matters.
Re:TinyLetter Shut Down by Mailchimp, So I Built the LetterDrop by gavmor on Sunday June 23, 2024 @02:53AM (#40765280)
Wow, CSS in a style tag in a string in try block in an anonymous function all declared right there in index.ts—no units, to say nothing of tests!

Would be a huge nuisance to maintain.

Re:TinyLetter Shut Down by Mailchimp, So I Built the LetterDrop by Closi on Sunday June 23, 2024 @04:10AM (#40765596)
Huge nuisance to manually maintain, but the suggestion is that you maintain it with an LLM.

Is the code bad? Sure.

Could I build this in 10 hours without an LLM having no experience with cloudflare workers and typescript? Probably not.

Could I build this in 10 hours with an LLM? Probably.

Re:TinyLetter Shut Down by Mailchimp, So I Built the LetterDrop by gavmor on Monday June 24, 2024 @02:36AM (#40773082)
Look, maybe I'm naive but the "technical debt" this approach generates is appalling. Someone's going to have to shave that yak or you'll trip over it on your way to market.

Whatever happened to "write code like it'll be maintained by an axe murderer?"[0]

0. https://wiki.c2.com/?CodeForTheMaintainer

Re:TinyLetter Shut Down by Mailchimp, So I Built the LetterDrop by Closi on Monday June 24, 2024 @03:14AM (#40773263)
What if the maintainer is assumed to be an LLM?
Re:TinyLetter Shut Down by Mailchimp, So I Built the LetterDrop by gavmor on Monday June 24, 2024 @03:20AM (#40773298)
The jury's still out on that one.

Personally, I don't think the GUI's yet been invented which can reliably wrangle LLMs to those ends.