On 09/12/14 08:31, Nicholas Londey via Digitalmars-d-learn wrote:
Does @property ever make sense for a free floating function?
http://dlang.org/phobos/std_random.html#.rndGen :-)
On Tuesday, 9 December 2014 at 07:31:21 UTC, Nicholas Londey
wrote:
as this can break some invalid code (the code where people
using
properties as functions)
Does @property ever make sense for a free floating function? I
would have thought no but was recently asked to add it if using
the fun
On 12/9/2014 4:31 PM, Nicholas Londey wrote:
Does @property ever make sense for a free floating function? I would
have thought no but was recently asked to add it if using the function
with uniform call syntax.
I use it from time-to-time. I assume you think of properties as
belonging to objec
On Tue, 09 Dec 2014 07:31:20 +
Nicholas Londey via Digitalmars-d-learn
wrote:
> > as this can break some invalid code (the code where people using
> > properties as functions)
>
> Does @property ever make sense for a free floating function? I
> would have thought no but was recently asked t
as this can break some invalid code (the code where people using
properties as functions)
Does @property ever make sense for a free floating function? I
would have thought no but was recently asked to add it if using
the function with uniform call syntax.
https://github.com/D-Programming-Lan
On Sat, 06 Dec 2014 15:23:10 -0800
Jonathan M Davis via Digitalmars-d-learn
wrote:
> On Thursday, December 04, 2014 10:21:10 uri via Digitalmars-d-learn wrote:
> > Hi All,
> >
> > Do you guys use @property much, or is it largely ignored/avoided?
>
> @property is used rather freuently - e.g. some
On Thursday, December 04, 2014 10:21:10 uri via Digitalmars-d-learn wrote:
> Hi All,
>
> Do you guys use @property much, or is it largely ignored/avoided?
@property is used rather freuently - e.g. some of the functions in the range
API are required to be properties. Typically, @property is used wh
On Thu, 04 Dec 2014 10:21:10 +
uri via Digitalmars-d-learn wrote:
> Do you guys use @property much, or is it largely ignored/avoided?
i'm using it alot for the things that looks like properties. ;-)
the thing is looking like a property if it works almost as fast as
accesing the field directl
On Thursday, 4 December 2014 at 10:24:00 UTC, Rikki Cattermole
wrote:
On 4/12/2014 11:21 p.m., uri wrote:
Hi All,
Do you guys use @property much, or is it largely
ignored/avoided?
Thanks,
uri
When it makes sense I use it.
https://github.com/Devisualization/window/blob/master/interfaces/de
On 4/12/2014 11:21 p.m., uri wrote:
Hi All,
Do you guys use @property much, or is it largely ignored/avoided?
Thanks,
uri
When it makes sense I use it.
https://github.com/Devisualization/window/blob/master/interfaces/devisualization/window/interfaces/window.d#L144
vs
https://github.com/rik
Hi All,
Do you guys use @property much, or is it largely ignored/avoided?
Thanks,
uri
11 matches
Mail list logo