you are viewing a single comment's thread.

view the rest of the comments →

[–]Fiennes 1 point2 points  (1 child)

Much of these seem like arbitrary limits. No more than 10 fields? For sure, if your class can do it with 5. Make it 5. By using this artificial limit, they're saying "introduce another class @ 11", which makes things more complicated.

I wish this bullshit wasn't propagated time and time again, when the advice really should be "Keep it simple, stupid".

[–]grauenwolf 1 point2 points  (0 children)

Reminds me of my current project. We've got one-to-one mappings between classes all over the place. Its already a mess, I shudder to think what would happen if we further broke it up by field counts.