DEV Community

Nivethan
Nivethan

Posted on

1

Did Some Work with SvelteKit

Not entirely sure if I'm a big fan but building out components and having layers of abstractions is definitely fun. The big problem is that to read this code afterwards. Its quite elegant and simple while I'm building things out but the real test will be coming back to this project in a few months and being able to change things.

I do like that I basically can define a schema in javascript and svelte will build it out with the components I specify. I think a big thing that will help is having a svelte cheatsheet similar to the one I made for vue.

I'm really taking the Baghdad parable to heart. A programmer would never write a DestroyBaghdad function as that is definitely wrong. Instead they would write a DestroyCity function that takes Baghdad as a parameter. This is pretty much what I've done and something that these javascript frameworks seem to allow pretty easily. Which is great but adds indirection to things that might not need it. After all maybe I should be manually writing out each Destroy...

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay