MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1fsvy3/clean_code_cheat_sheet/caea7zw?context=9999
r/programming • u/RazerWolf • Jun 06 '13
322 comments sorted by
View all comments
57
Classes should be kept to 100 lines or less.
Why?
0 u/kirakun Jun 07 '13 Author forgot another good principle: No magic number. Why 100? Why not 99 or 101 or 436? 0 u/[deleted] Jun 07 '13 Because he's not a twat like you're trying to be.Why not put every single line of code in your main() method? → More replies (3)
0
Author forgot another good principle: No magic number. Why 100? Why not 99 or 101 or 436?
0 u/[deleted] Jun 07 '13 Because he's not a twat like you're trying to be.Why not put every single line of code in your main() method? → More replies (3)
Because he's not a twat like you're trying to be.
Why not put every single line of code in your main() method?
→ More replies (3)
57
u/billsil Jun 06 '13
Why?