erez

joined 1 year ago
[–] erez@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

Some coffeeshops have men with purple hats standing in front, essentially advertising the place. Not to mention all the big signs saying this is a coffeshop, with customers sitting outside on benches and smoking weed in plain sight. It's definitely possible to find coffeeshops with boardgames, although they are not very popular, since I guess most tourists aren't into that, and most locals can just smoke and play boardgames at home.

[–] erez@lemmy.world 3 points 1 year ago* (last edited 1 year ago) (1 children)

I like that you chose Sveltekit, and the project structure seems pretty good. But there's a lot to fix. The page load takes way too long (you should be using #await whenever possible), and the design is very messy.

If I may suggest, I think you should be using a better UI framework. I feel like Carbon is a good match for this sort of app. But If you don't like it, Skeleton also seems like a good choice.

Also, imho you should be using display: flex a lot more! (or grid). And use tab 2 or 4, not 8!! :)

Either way, I like the initiative. I might be able to help out a little bit here and there, but I can't make any promises.

Good luck!

[–] erez@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

I agree with the article that dataclasses and namedtuples aren't as good as they can be. But I think the solution should be to make dataclasses native, and not namedtuples.

So we could write something like:

dataclass Point:
  x: int   @"why not also add new syntax for documentation?"
  y: int   @"the size of translation on the Y axis"

  def methods_as_usual(self):
      ...