Comment

Comment by animal531

I've been building some game user interfaces with it, and on the surface it looks amazing. It's iterating at lightning speed, but then after a while you start noticing all the holes.

For example I've made a first screen with a lot of elements, and now I want to create a 2nd similar screen, so I tell it to use the same code as we've created for the first to make the 2nd. With that as input it will create it and a) use e.g. the variables and setup from the first b) copy everything into the 2nd c) copy some things d) make a generic parent for both to inherit from

A human would have realized that this is something we're going to be doing a lot, so the last is the correct answer. Make generics for all elements, e.g. the screen's panel, effects, buttons, text etc. then implement those along with possible overrides etc. for all.

But it seems that it has no clear methodology. Depending on your exact wording along with today's weather you will get any combination of the options.

parent animal531 19 days ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton