1095
Peak UI Design (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] Fiery@lemmy.dbzer0.com 1 points 2 days ago

Having data dependent on each other in a type means that either you have redundant data (so one of the fields should be computed) or that your container tries to be too generic (you should in this case prefer an 'Apple' class over a 'Fruit' class with an enum field 'Type')

this post was submitted on 15 Jul 2025
1095 points (99.5% liked)

Programmer Humor

25080 readers
1331 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS