On Friday, 20 November 2020 at 18:46:40 UTC, Martin wrote:
On Friday, 20 November 2020 at 10:03:18 UTC, Daniel Kozak wrote:
I remember days when I liked UFCS too . Unfortunately it is
not so awesome when you use it with IDE.
And I would like to add: if you use in a bigger team. It's
On Friday, 20 November 2020 at 10:03:18 UTC, Daniel Kozak wrote:
I remember days when I liked UFCS too . Unfortunately it is
not so awesome when you use it with IDE.
And I would like to add: if you use in a bigger team. It's
annoying when every dev have a own taste.. And together with
On Fri, Nov 20, 2020 at 11:03:18AM +0100, Daniel Kozak via Digitalmars-d-learn
wrote:
[...]
>I remember days when I liked UFCS too . Unfortunately it is not so
>awesome when you use it with IDE. So I am now avoiding UFCS as much
>as possible and it is a much better experience for me.
On Friday, 20 November 2020 at 10:03:18 UTC, Daniel Kozak wrote:
I remember days when I liked UFCS too . Unfortunately it is
not so awesome when you use it with IDE. So I am now avoiding
UFCS as much as possible and it is a much better experience for
me.
Doesn't bother me.
On Fri, Nov 20, 2020 at 8:55 AM Mike Parker via Digitalmars-d-learn <
digitalmars-d-learn@puremagic.com> wrote:
> ...
> Eh, I wouldn't quite put it that way. If we're thinking of the
> same thread, one person said he thought it was a bad idea. That
> doesn't make it bad practice. It's just his
I was the person who wrote that example.
It was just an example to show how it can be used.
I would not write a function call like that when using a literal.
As Mike said, its all up to personal preference.
On Friday, 20 November 2020 at 07:39:10 UTC, norm wrote:
I was reading some posts and this was presented as a snippet of
code and was immediately flagged as bad practice.
Eh, I wouldn't quite put it that way. If we're thinking of the
same thread, one person said he thought it was a bad
I was reading some posts and this was presented as a snippet of
code and was immediately flagged as bad practice.
I get some people don't like it but occasionally I prefer this
syntax. It feels more declarative and fluent in style. Is there a
good technical reason why it is bad practice, e.g.