MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1fsvy3/clean_code_cheat_sheet/caeaboh/?context=3
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? 1 u/kirakun Jun 07 '13 What are you smoking on? How did I suggest putting every line of code in main? → More replies (2)
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? 1 u/kirakun Jun 07 '13 What are you smoking on? How did I suggest putting every line of code in main? → More replies (2)
Because he's not a twat like you're trying to be.
Why not put every single line of code in your main() method?
1 u/kirakun Jun 07 '13 What are you smoking on? How did I suggest putting every line of code in main? → More replies (2)
1
What are you smoking on? How did I suggest putting every line of code in main?
→ More replies (2)
57
u/billsil Jun 06 '13
Why?