[Issue 18124] Over-use of `auto` return type in std.regex

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 26 00:40:04 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=18124

--- Comment #3 from Seb <greensunny12 at gmail.com> ---
> I wasn't aware that a decision to use the type system was bikeshedding.

Okay let me go one step back here: I do see your point of explicitly stating
the return type, s.t. it's one click away from the user. However, this comes up
regularly and as you have seen in your recent NG thread [1] this is a topic
with divided minds.

Regarding bikeshedding:

> spending the majority of its time on discussions about relatively minor but easy-to-grasp issues, such as what materials to use for the staff bike shed, while neglecting the proposed design of the plant itself, which is far more important and a far more difficult and complex task.

Maybe it's a better of interpretetion.

[1] http://forum.dlang.org/post/plgxyxhvmfwnimuykzdh@forum.dlang.org
[2] https://en.wikipedia.org/wiki/Law_of_triviality

> Just a tip: emoticons can make an otherwise professional comment seem smarmy or condescending. If you do not intend to seem smarmy or condescending, you may wish to avoid them.

This wasn't my intention. Thanks for the advice!
(FYI: I'm doing most of open source work on my phone, so typos arise from time
to time and emoticons are in close reach.)

--


More information about the Digitalmars-d-bugs mailing list