Incase it doesn’t show up:

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    4 months ago

    Definitely not the 2.5k lines app

    MVC can be a great experience, especially with python dictionaries.

    • Treczoks@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      Learning how to get models and views together took some time, but after the second refactoring that week I managed to have neat objects for each MVC with clean interfaces. My biggest source in the app defines a requester with three columns of lists: a global category, then parts from that category, and finally the available colors for that part. Each of those views is an object, their interacting logic is an object, and finally the actual requester is an object, and this makes thing easy to handle.