this post was submitted on 02 Sep 2024
886 points (99.1% liked)

Programmer Humor

32131 readers
1559 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
[–] [email protected] 2 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Definitely not the 2.5k lines app

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

[–] Treczoks 3 points 3 weeks 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.

[–] [email protected] 1 points 3 weeks ago