programmingDesign Patterns
#RI-6a9f8e22·6 months ago·
1
“Classes are more useful than functions”
What Actually Happened
Used functions instead of classes, but classes are better for organization and reusability
What I wish I knew
"Functions can be reused with classes, but not as efficiently"
Advice to Someone Facing This Now
If I could tell you one thing
"Use classes for complex data and functions for simple operations"
Regret Index
2/10
Positive or neutral outcome.
Would make the same decision again.
Would make the same decision again.
Advice for Someone Facing This
Short, upvotable wisdom. The most helpful rises to the top.
No advice yet. Be the first to share wisdom.
programming Category
28
programming decisions logged. Avg regret 4.1/10 across the category.
Same Outcome Band
54%
of programming decisions land in the settled band the same as this one.
React, question, or discuss this decision.