• 1 Post
  • 3 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle

  • 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!



  • 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):
          ...