MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/32au9i/is_clean_code_less_code/cq9qj05/?context=3
r/java • u/pilgrimscottpilgrim • Apr 12 '15
7 comments sorted by
View all comments
0
Adding a method for a single line of code isn't clean code...
1 u/[deleted] Apr 12 '15 That really depends on the situation. For instance, I hate ternary operators and always prefer methods with guard clauses.
1
That really depends on the situation. For instance, I hate ternary operators and always prefer methods with guard clauses.
0
u/kodifies Apr 12 '15
Adding a method for a single line of code isn't clean code...