Re: '!' and naming conventions

2014-06-18 Thread Brad Anderson via Digitalmars-d-learn
On Wednesday, 18 June 2014 at 21:58:48 UTC, Jonathan M Davis via Digitalmars-d-learn wrote: Sent: Wednesday, June 18, 2014 at 11:02 PM From: "Brad Anderson via Digitalmars-d-learn" To: digitalmars-d-learn@puremagic.com Subject: Re: '!' and naming conventions There is

Re: '!' and naming conventions

2014-06-18 Thread Jonathan M Davis via Digitalmars-d-learn
> Sent: Wednesday, June 18, 2014 at 11:02 PM > From: "Brad Anderson via Digitalmars-d-learn" > > To: digitalmars-d-learn@puremagic.com > Subject: Re: '!' and naming conventions > > There is a style guide on the website: > http://dlang.org/dstyle

Re: '!' and naming conventions

2014-06-18 Thread Gary Willoughby via Digitalmars-d-learn
On Wednesday, 18 June 2014 at 20:55:36 UTC, cym13 wrote: Hello, I see a lot of functions and other stuff with a '!' in the name such as 'bitfields!' or 'ctRegex!'. What does it mean exactly? I think this will be helpful: http://nomad.so/2013/07/templates-in-d-explained/

Re: '!' and naming conventions

2014-06-18 Thread w0rp via Digitalmars-d-learn
On Wednesday, 18 June 2014 at 20:55:36 UTC, cym13 wrote: Hello, I see a lot of functions and other stuff with a '!' in the name such as 'bitfields!' or 'ctRegex!'. What does it mean exactly? In scheme, we use such a convention to warn that a function is not pure, but I don't see the point of u

Re: '!' and naming conventions

2014-06-18 Thread Brad Anderson via Digitalmars-d-learn
On Wednesday, 18 June 2014 at 20:55:36 UTC, cym13 wrote: Hello, I see a lot of functions and other stuff with a '!' in the name such as 'bitfields!' or 'ctRegex!'. What does it mean exactly? In scheme, we use such a convention to warn that a function is not pure, but I don't see the point of u

'!' and naming conventions

2014-06-18 Thread cym13 via Digitalmars-d-learn
Hello, I see a lot of functions and other stuff with a '!' in the name such as 'bitfields!' or 'ctRegex!'. What does it mean exactly? In scheme, we use such a convention to warn that a function is not pure, but I don't see the point of using it that way in D as there are other way to express it.