On Wed, 05 Oct 2016 02:11:14 +, Meta wrote:
> I'm currently writing up a DIP to propose removing `body` as a keyword
> to allow it to be used for variable names, functions, etc. I'm looking
> for examples and contexts where `body` would normally be used as a
> variable, function name, alias,
On Friday, October 07, 2016 10:57:00 Nick Treleaven via Digitalmars-d wrote:
> On Wednesday, 5 October 2016 at 19:45:20 UTC, Basile B. wrote:
> > In this case let's drop completely the contracts...you can put
> > them in the body, at the beg or at the end...
>
> Language support for contracts
On Wednesday, 5 October 2016 at 19:45:20 UTC, Basile B. wrote:
In this case let's drop completely the contracts...you can put
them in the body, at the beg or at the end...
Language support for contracts enables a super class to enforce
contracts on its virtual methods.
On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote:
- Video games, such as referring to the player character's body
Many years ago I did a D port of the C-Dogs game from C to D and
it was quite annoying to have to rename all the body variables to
body_. It has happened in other
On Thursday, 6 October 2016 at 06:38:06 UTC, Jonathan M Davis
wrote:
Yeah, the fact that the body keyword is not required normally
but is when you have in/out contracts is annoying, completely
aside from what the keyword used is. I don't care much about
losing the name body to a keyword, but I
On Thursday, October 06, 2016 05:25:19 Patrick Schluter via Digitalmars-d
wrote:
> Sorry, I find the actual body without body keyword much more
> natural (i.e. intuitive) than having the body requiring it only
> when there are contracts. It would be even consistent with the
> template syntax
On Wednesday, October 05, 2016 02:11:14 Meta via Digitalmars-d wrote:
> I'm currently writing up a DIP to propose removing `body` as a
> keyword to allow it to be used for variable names, functions,
> etc. I'm looking for examples and contexts where `body` would
> normally be used as a variable,
On Wednesday, 5 October 2016 at 19:45:20 UTC, Basile B. wrote:
On Wednesday, 5 October 2016 at 19:30:27 UTC, pineapple wrote:
On Wednesday, 5 October 2016 at 19:02:02 UTC, Basile B. wrote:
On Wednesday, 5 October 2016 at 18:41:02 UTC, Jacob Carlborg
wrote:
On 2016-10-05 19:14, Matthias Klumpp
On Wednesday, 5 October 2016 at 19:30:27 UTC, pineapple wrote:
On Wednesday, 5 October 2016 at 19:02:02 UTC, Basile B. wrote:
On Wednesday, 5 October 2016 at 18:41:02 UTC, Jacob Carlborg
wrote:
On 2016-10-05 19:14, Matthias Klumpp wrote:
Agreed - I have exactly the same problem with
On Wednesday, 5 October 2016 at 19:02:02 UTC, Basile B. wrote:
On Wednesday, 5 October 2016 at 18:41:02 UTC, Jacob Carlborg
wrote:
On 2016-10-05 19:14, Matthias Klumpp wrote:
Agreed - I have exactly the same problem with "version",
which is also
really common for, well, to hold a version
On Wednesday, 5 October 2016 at 19:02:02 UTC, Basile B. wrote:
On Wednesday, 5 October 2016 at 18:41:02 UTC, Jacob Carlborg
wrote:
On 2016-10-05 19:14, Matthias Klumpp wrote:
Agreed - I have exactly the same problem with "version",
which is also
really common for, well, to hold a version
On Wednesday, 5 October 2016 at 18:41:02 UTC, Jacob Carlborg
wrote:
On 2016-10-05 19:14, Matthias Klumpp wrote:
Agreed - I have exactly the same problem with "version", which
is also
really common for, well, to hold a version number of a
component. Body
is annoying too.
But, can keywords
On Wednesday, 5 October 2016 at 18:41:02 UTC, Jacob Carlborg
wrote:
On 2016-10-05 19:14, Matthias Klumpp wrote:
Agreed - I have exactly the same problem with "version", which
is also
really common for, well, to hold a version number of a
component. Body
is annoying too.
But, can keywords
On 2016-10-05 19:14, Matthias Klumpp wrote:
Agreed - I have exactly the same problem with "version", which is also
really common for, well, to hold a version number of a component. Body
is annoying too.
But, can keywords actually sanely be removed from the language without
breaking the world?
On Wednesday, 5 October 2016 at 17:51:07 UTC, Basile B. wrote:
I'll be against this. Seriously is it the biggest problem you
have with D ?
Not by a longshot
Also, what I guess is that your DIP will not propose "body" to
be removed from the keyword list. You'll propose that "body"
will be a
On Wednesday, 5 October 2016 at 17:17:32 UTC, default0 wrote:
On Wednesday, 5 October 2016 at 17:14:04 UTC, Matthias Klumpp
wrote:
On Wednesday, 5 October 2016 at 16:57:42 UTC, Rory McGuire
wrote:
On Wed, Oct 5, 2016 at 5:32 PM, angel via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote:
I'm currently writing up a DIP to propose removing `body` as a
keyword to allow it to be used for variable names, functions,
etc. I'm looking for examples and contexts where `body` would
normally be used as a variable, function name,
On Wednesday, 5 October 2016 at 17:14:04 UTC, Matthias Klumpp
wrote:
On Wednesday, 5 October 2016 at 16:57:42 UTC, Rory McGuire
wrote:
On Wed, Oct 5, 2016 at 5:32 PM, angel via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote:
[...]
On Wednesday, 5 October 2016 at 16:57:42 UTC, Rory McGuire wrote:
On Wed, Oct 5, 2016 at 5:32 PM, angel via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote:
[...]
Really, why do we need a _body_ ?
We have pre-condition and
On Wed, Oct 5, 2016 at 5:32 PM, angel via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote:
>
>> I'm currently writing up a DIP to propose removing `body` as a keyword to
>> allow it to be used for variable names, functions, etc. I'm
On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote:
I'm currently writing up a DIP to propose removing `body` as a
keyword to allow it to be used for variable names, functions,
etc. I'm looking for examples and contexts where `body` would
normally be used as a variable, function name,
On Wednesday, 5 October 2016 at 12:02:21 UTC, Andrej Mitrovic
wrote:
On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote:
[...]
Physics libraries absolutely.
https://github.com/d-gamedev-team/dchip/blob/55f43e5f0cf67c8bc190711b69eb16230fa6188e/src/dchip/cpBody.d#L184
On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote:
I'm currently writing up a DIP to propose removing `body` as a
keyword to allow it to be used for variable names, functions,
etc. I'm looking for examples and contexts where `body` would
normally be used as a variable, function name,
On 2016-10-05 04:11, Meta wrote:
- In web programming where "body" is a required tag in any valid HTML
document. Ex:
- It is a name commonly used for XML tags and/or attributes
- Physics simulations as well in astronomical contexts ("planetary
bodyies", etc.)
- Video games, such as referring to
Am 05.10.2016 um 05:04 schrieb ketmar:
On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote:
I'm currently writing up a DIP to propose removing `body` as a keyword
to allow it to be used for variable names, functions, etc. I'm looking
for examples and contexts where `body` would normally be
On Wednesday, 5 October 2016 at 02:11:14 UTC, Meta wrote:
I'm currently writing up a DIP to propose removing `body` as a
keyword to allow it to be used for variable names, functions,
etc. I'm looking for examples and contexts where `body` would
normally be used as a variable, function name,
I'm currently writing up a DIP to propose removing `body` as a
keyword to allow it to be used for variable names, functions,
etc. I'm looking for examples and contexts where `body` would
normally be used as a variable, function name, alias, etc. This
is what I have come up with off the top of
27 matches
Mail list logo