‹ BackHN Continuity

Thread

SvelteKit 3

408 points · 179 comments · sampsn

  1. blakeashleyjr · · focus · HN ↗
    Sveltekit has been a breath of fresh air for me over the last few years.

    I've had to work on a Next.js for work and much prefer Sveltekit. Excited to try this release!

    1. 383toast · · focus · HN ↗
      what's the point of svelte in a world where the llm is much better at react due to massively more available training data?
      1. Recursing · · focus · HN ↗
        In my experience LLMs write better svelte code then React code, as there's fewer footguns (e.g. useEffect is much more brittle in React)
        1. smt88 · · focus · HN ↗
          This is interesting but in my experience an avoidable issue if you force the LLM to write extensive E2E tests before writing any code. I also force mine to run performance benchmarks against any new commit before it’s committed.

          I have backend bugs that I need to manage myself, usually from unknown-unknowns that I don’t think I can easily avoid, but I never have frontend bugs (since Opus 4.6 anyway).

          1. DonHopkins · · focus · HN ↗
            And if you force the LLM to write extensive E2E tests and performance benchmarks before writing any Svelte code, you're even better off.

            In the "Unix Haters Handbook", "X-Windows Disaster" chapter, "Ice Cube: The Lethal Weapon" section, I quoted Jamie Zawinski, whose timeless and tactile observation also applies to React:

            > Using these toolkits is like trying to make a bookshelf out of mashed potatoes.

            <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35631889">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35631889

            <a href="https:&#x2F;&#x2F;donhopkins.medium.com&#x2F;the-x-windows-disaster-128d398ebd47#3f73" rel="nofollow">https:&#x2F;&#x2F;donhopkins.medium.com&#x2F;the-x-windows-disaster-128d398...

            <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=mg8xfl4L6HQ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=mg8xfl4L6HQ

            1. justin66 · · focus · HN ↗
              You and Jamie sure landed on opposite sides of the AI debate.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.