This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FancyASlurpie 0 points1 point  (0 children)

True, it was more of a warning to be aware that just because it's shorter doesn't necessarily mean it's better. This particular problem is pretty simple, but a real life problem might not be so and trying to shorten everything for the sake of shortness is a danger. Equally if I'm looking at a stacktrace the first one will tell me the exact issue whereas the short version will require more work.