D - array slicing
- Charles (9/9) Dec 16 2004 This has probably already been mentioned , and I know D's not implementi...
- Benjamin Herr (6/7) Dec 16 2004 I think the issue is that this would require run time checks for the
-
Stewart Gordon
(10/17)
Dec 17 2004
- Lionello Lunesu (12/13) Dec 17 2004 You mean "it wasn't accepted before so fo'getaboutit!" ?
- Ben Hinkle (2/4) Dec 17 2004 i am
- Benjamin Herr (2/6) Dec 17 2004 I am not! *troll*
- Ben Hinkle (3/9) Dec 17 2004 I'm confused. why the *troll*?
- Lionello Lunesu (3/14) Dec 17 2004 what's troll?? :-&
- Ben Hinkle (3/4) Dec 17 2004 see http://en.wikipedia.org/wiki/Internet_troll
- Benjamin Herr (2/13) Dec 17 2004 Because my post was not really contributive :(
- Ben Hinkle (4/18) Dec 17 2004 oh - don't worry about that. My wasn't very deep either. I was worried y...
-
Stewart Gordon
(9/12)
Dec 17 2004
This has probably already been mentioned , and I know D's not implementing new features , but what about using negative numbers to indicate starting from the end of the array char [] x = "comma,"; char [] y = x[0 .. -1]; // y is 'comma' No special charaters , no new keywords , no scoping rules ( is length still a keyword in slicing ? ). Thoughts ? Charlie
Dec 16 2004
Charles wrote:using negative numbers to indicate starting from the end of the arrayI think the issue is that this would require run time checks for the sign of the array index, which would be unneccessary in a lot of cases. If you require this feature, you might want to use a more sophisticated Array class anyway. -Ben
Dec 16 2004
Charles wrote:This has probably already been mentioned , and I know D's not implementing new features , but what about using negative numbers to indicate starting from the end of the array char [] x = "comma,"; char [] y = x[0 .. -1]; // y is 'comma'<snip> Been talked to death already, starting from http://www.digitalmars.com/drn-bin/wwwnews?D/24082 As has the fact that the 'group you're posting on is deprecated. Taking to digitalmars.D.... Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Dec 17 2004
Been talked to death already, starting fromYou mean "it wasn't accepted before so fo'getaboutit!" ? Another reason we need some standard for arguing about suggestions. Everyone with a suggestion gets tired at some point and stops explaining / improving his exception. It's kind of silly to forget about some suggestion just because Walter hasn't had the time to reply/react/implement it. Are we (people interested in D) really satisfied if only bugs got fixed and D remained the way it is now? (I'm not) Lionello (Damn, I know only too well what happens if one person, me in this case, changes the tone of a conversation on a newsgroup. Should I rewrite my post? I didn't accuse anyone, so this post seems clean... to me...)
Dec 17 2004
Are we (people interested in D) really satisfied if only bugs got fixedandD remained the way it is now?i am
Dec 17 2004
Ben Hinkle wrote:I am not! *troll*Are we (people interested in D) really satisfied if only bugs got fixed and D remained the way it is now?i am
Dec 17 2004
"Benjamin Herr" <ben 0x539.de> wrote in message news:cpv0qd$2gju$1 digitaldaemon.com...Ben Hinkle wrote:I'm confused. why the *troll*?I am not! *troll*Are we (people interested in D) really satisfied if only bugs got fixed and D remained the way it is now?i am
Dec 17 2004
what's troll?? :-& "Ben Hinkle" <bhinkle mathworks.com> wrote in message news:cpv19s$2hao$1 digitaldaemon.com..."Benjamin Herr" <ben 0x539.de> wrote in message news:cpv0qd$2gju$1 digitaldaemon.com...Ben Hinkle wrote:I'm confused. why the *troll*?I am not! *troll*Are we (people interested in D) really satisfied if only bugs got fixed and D remained the way it is now?i am
Dec 17 2004
"Lionello Lunesu" <lionello.lunesu crystalinter.remove.com> wrote in message news:cpv1pl$2hvc$1 digitaldaemon.com...what's troll?? :-&see http://en.wikipedia.org/wiki/Internet_troll
Dec 17 2004
Ben Hinkle wrote:"Benjamin Herr" <ben 0x539.de> wrote in message news:cpv0qd$2gju$1 digitaldaemon.com...Because my post was not really contributive :(Ben Hinkle wrote:I'm confused. why the *troll*?I am not! *troll*Are we (people interested in D) really satisfied if only bugs got fixed and D remained the way it is now?i am
Dec 17 2004
"Benjamin Herr" <ben 0x539.de> wrote in message news:cpvb30$2sao$1 digitaldaemon.com...Ben Hinkle wrote:oh - don't worry about that. My wasn't very deep either. I was worried you were either calling me or the OP a troll, which was why I was confused."Benjamin Herr" <ben 0x539.de> wrote in message news:cpv0qd$2gju$1 digitaldaemon.com...Because my post was not really contributive :(Ben Hinkle wrote:I'm confused. why the *troll*?I am not! *troll*Are we (people interested in D) really satisfied if only bugs got fixed and D remained the way it is now?i am
Dec 17 2004
Lionello Lunesu wrote:<snip> No. I mean that there has already been a discussion on this idea, and so the OP might as well look at what was said there, rather than just let the debate repeat itself with potentially no new content. Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.Been talked to death already, starting fromYou mean "it wasn't accepted before so fo'getaboutit!" ?
Dec 17 2004