this post was submitted on 02 Sep 2024
893 points (99.0% liked)

Programmer Humor

32415 readers
716 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Incase it doesn't show up:

you are viewing a single comment's thread
view the rest of the comments
[–] MonkderVierte@lemmy.ml 2 points 2 months ago* (last edited 2 months ago) (1 children)

Definitely not the 2.5k lines app

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

[–] Treczoks@lemmy.world 3 points 2 months ago (1 children)

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.