0 karma · joined Feb 12, 2020 (6y ago) · 5 submissions
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Life is meant to be lived.
A tautology at best, but more likely empty rhetoric. Make healthier choices, but still enjoy.
This assumes healthy choices cannot produce enjoyment. Otherwise, what's the point?
In our modern times, it seems to me, the point of life is whatever you make of it. I'm getting the impression that the point of your life is to experience as much pleasure as possible, i.e.: hedonism. This is a perfectly valid approach to one's life, but I wouldn't assume that others are getting less enjoyment out of their existence simply because they choose to impose constraints on the pleasures they pursue.comment 6y ago · link · parent
To give you an example, when using Java's stream functionality, I tend to insert every method call in the chain after stream() in a new line, for readability:
...
entityIds.stream()
.map()
.filter()
.collect();
...
When I scan the method to see if it should be broken down, the fact that this code occupies 4 lines doesn't really contribute much to my decision to refactor the method into several methods, because those 4 lines are accomplishing one thing.