Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
October 07, 2004 Damn you ! | ||||
---|---|---|---|---|
| ||||
I have to write some C++ code and I keep typing writefln instead of std::cout and foreach instead of wicked for's... There shoud be a disclaimer on the main digitalmars' page: "WARNING: Once you try D you will never want to come back to C++". And now what ? I'm having a programming contest @ the university on Saturday and it's gonna be in C++. I used to be pretty fluent in it and now ? I'm screwed cuz I'm gonna write D style arrays, string slices, I'm gonna forget about delete's and use writefln for text output. Not to mention forgetting about the -> operator... If D doesn't rule the world, I'm switching to Brainfuck or Cobol as a sign of protest. |
October 07, 2004 Re: Damn you ! | ||||
---|---|---|---|---|
| ||||
Posted in reply to h3r3tic | "h3r3tic" <foo@bar.baz> escribió en el mensaje news:ck4f42$2sc0$1@digitaldaemon.com... |I have to write some C++ code and I keep typing writefln instead of | std::cout and foreach instead of wicked for's... There shoud be a | disclaimer on the main digitalmars' page: "WARNING: Once you try D you | will never want to come back to C++". And now what ? I'm having a | programming contest @ the university on Saturday and it's gonna be in | C++. I used to be pretty fluent in it and now ? I'm screwed cuz I'm | gonna write D style arrays, string slices, I'm gonna forget about | delete's and use writefln for text output. Not to mention forgetting | about the -> operator... | If D doesn't rule the world, I'm switching to Brainfuck or Cobol as a | sign of protest. lol! I think Walter warned about that once. ----------------------- Carlos Santander Bernal |
October 07, 2004 Re: Damn you ! | ||||
---|---|---|---|---|
| ||||
Posted in reply to h3r3tic | h3r3tic wrote:
> I have to write some C++ code and I keep typing writefln instead of
> std::cout and foreach instead of wicked for's... There shoud be a
> disclaimer on the main digitalmars' page: "WARNING: Once you try D you
> will never want to come back to C++". And now what ? I'm having a
> programming contest @ the university on Saturday and it's gonna be in
> C++. I used to be pretty fluent in it and now ? I'm screwed cuz I'm
> gonna write D style arrays, string slices, I'm gonna forget about
> delete's and use writefln for text output. Not to mention forgetting
> about the -> operator...
> If D doesn't rule the world, I'm switching to Brainfuck or Cobol as a
> sign of protest.
Funny, I just had a similar experience at work today. I had to append to an array (it was from old C code that hasn't been updated to use vector) and found myself typing D instead of C++. As I typed the equivalent C every keystroke hurt.
|
October 07, 2004 Re: Damn you ! | ||||
---|---|---|---|---|
| ||||
Posted in reply to h3r3tic | "h3r3tic" <foo@bar.baz> wrote in message news:ck4f42$2sc0$1@digitaldaemon.com... >I have to write some C++ code and I keep typing writefln instead of std::cout and foreach instead of wicked for's... There shoud be a disclaimer on the main digitalmars' page: "WARNING: Once you try D you will never want to come back to C++". And now what ? I'm having a programming contest @ the university on Saturday and it's gonna be in C++. I used to be pretty fluent in it and now ? I'm screwed cuz I'm gonna write D style arrays, string slices, I'm gonna forget about delete's and use writefln for text output. Not to mention forgetting about the -> operator... > If D doesn't rule the world, I'm switching to Brainfuck or Cobol as a sign of protest. I've found it more of a +ve, in that I seek to enhance/extend C++ in a D-like manner. (I'm just writing an article on subscripting for CUJ that's heavily influenceD <g>) Matthew P.S. Of course, the array-slicing just can't be beaten. :-) |
October 08, 2004 Re: Damn you ! | ||||
---|---|---|---|---|
| ||||
Posted in reply to h3r3tic | "h3r3tic" <foo@bar.baz> wrote in message news:ck4f42$2sc0$1@digitaldaemon.com... > I have to write some C++ code and I keep typing writefln instead of > std::cout and foreach instead of wicked for's... There shoud be a > disclaimer on the main digitalmars' page: "WARNING: Once you try D you > will never want to come back to C++". And now what ? I'm having a > programming contest @ the university on Saturday and it's gonna be in > C++. I used to be pretty fluent in it and now ? I'm screwed cuz I'm > gonna write D style arrays, string slices, I'm gonna forget about > delete's and use writefln for text output. Not to mention forgetting > about the -> operator... > If D doesn't rule the world, I'm switching to Brainfuck or Cobol as a > sign of protest. <g> I've always thought that the true test of D comes when a C++ expert writes enough D code to get used to it, and then tried to go back to C++. |
October 08, 2004 Re: Damn you ! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Walter wrote:
> "h3r3tic" <foo@bar.baz> wrote in message
> news:ck4f42$2sc0$1@digitaldaemon.com...
>
>>I have to write some C++ code and I keep typing writefln instead of
>>std::cout and foreach instead of wicked for's... There shoud be a
>>disclaimer on the main digitalmars' page: "WARNING: Once you try D you
>>will never want to come back to C++". And now what ? I'm having a
>>programming contest @ the university on Saturday and it's gonna be in
>>C++. I used to be pretty fluent in it and now ? I'm screwed cuz I'm
>>gonna write D style arrays, string slices, I'm gonna forget about
>>delete's and use writefln for text output. Not to mention forgetting
>>about the -> operator...
>>If D doesn't rule the world, I'm switching to Brainfuck or Cobol as a
>>sign of protest.
>
>
> <g> I've always thought that the true test of D comes when a C++ expert
> writes enough D code to get used to it, and then tried to go back to C++.
>
>
Now I know, that's why the word "derevolution" does not exist, it is simply impossible to do.
Regards,
Sjoerd
|
October 08, 2004 Re: Damn you ! | ||||
---|---|---|---|---|
| ||||
Posted in reply to h3r3tic | In article <ck4f42$2sc0$1@digitaldaemon.com>, h3r3tic says... > >I have to write some C++ code and I keep typing writefln instead of std::cout and foreach instead of wicked for's... There shoud be a disclaimer on the main digitalmars' page: "WARNING: Once you try D you will never want to come back to C++". And now what ? I'm having a programming contest @ the university on Saturday and it's gonna be in C++. I used to be pretty fluent in it and now ? I'm screwed cuz I'm gonna write D style arrays, string slices, I'm gonna forget about delete's and use writefln for text output. Not to mention forgetting about the -> operator... Maybe start a D programming contest then? >If D doesn't rule the world, I'm switching to Brainfuck or Cobol as a sign of protest. I'd never use Brainfuck for serious programing. Nor Cobol (it looks difficult to write). |
October 09, 2004 Re: Damn you ! | ||||
---|---|---|---|---|
| ||||
Posted in reply to kinghajj | kinghajj wrote:
> In article <ck4f42$2sc0$1@digitaldaemon.com>, h3r3tic says...
>
>>I have to write some C++ code and I keep typing writefln instead of std::cout and foreach instead of wicked for's... There shoud be a disclaimer on the main digitalmars' page: "WARNING: Once you try D you will never want to come back to C++". And now what ? I'm having a programming contest @ the university on Saturday and it's gonna be in C++. I used to be pretty fluent in it and now ? I'm screwed cuz I'm gonna write D style arrays, string slices, I'm gonna forget about delete's and use writefln for text output. Not to mention forgetting about the -> operator...
>
> Maybe start a D programming contest then?
>
>
>>If D doesn't rule the world, I'm switching to Brainfuck or Cobol as a sign of protest.
>
> I'd never use Brainfuck for serious programing. Nor Cobol (it looks difficult to
> write).
>
>
Surely the inventor of Cobol must have been stoned. It isn't a language, it is a complete religion.
Regards,
Sjoerd
|
October 14, 2004 Re: Damn you ! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sjoerd van Leent | > Now I know, that's why the word "derevolution" does not exist, it is simply impossible to do.
Indeed not. That is why derevolution will not betelevised.
|
Copyright © 1999-2021 by the D Language Foundation