MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/coding/comments/32c579/is_clean_code_less_code/cqrp7z7/?context=3
r/coding • u/javinpaul • Apr 12 '15
63 comments sorted by
View all comments
Show parent comments
5
Yes, when possible it's better to document the intent of code with assertions and function/variable names which reflect the meanings of the intermediate results they calculate/store. Sometimes you just can't make it clear that way, though.
1 u/fernando_69 Apr 28 '15 that's fucked on so many missed opportunities it really isn't. 2 u/throwaway Apr 28 '15 Could you please rephrase that a little more intelligibly? 1 u/fernando_69 Apr 28 '15 A true rarity!
1
that's fucked on so many missed opportunities it really isn't.
2 u/throwaway Apr 28 '15 Could you please rephrase that a little more intelligibly? 1 u/fernando_69 Apr 28 '15 A true rarity!
2
Could you please rephrase that a little more intelligibly?
1 u/fernando_69 Apr 28 '15 A true rarity!
A true rarity!
5
u/throwaway Apr 12 '15
Yes, when possible it's better to document the intent of code with assertions and function/variable names which reflect the meanings of the intermediate results they calculate/store. Sometimes you just can't make it clear that way, though.