On Thursday, 9 January 2014 at 19:06:19 UTC, monarch_dodra wrote:
...is that a question?
I just watend to share the discovery.I always wondered what bothers me about some UFCS overuse and it's the sentence part that matters.
I find the first is most readable. Well, (IMO) with added
parens too:
if (path.baseName().startsWith(something))
doThis();
But how do speak that out in your head?The other one is, if the basename of path starts with something do this.
