digitalmars.D - [OT] interview with Stroustrup
- =?iso-8859-1?q?Knud_S=F8rensen?= (3/3) Nov 15 2005 Hi
- Zz (3/6) Nov 15 2005 Not real.
- Sean Kelly (6/18) Nov 15 2005 No, but pretty funny. And a lot of the comments are fairly accurate
- James Dunne (2/16) Nov 15 2005 Surprisingly accurate though, no? =P
- clayasaurus (3/9) Nov 16 2005 Oh great. Now everytime I go to program C++, it actually /feels/ like
- Georg Wrede (2/13) Nov 16 2005 Welcome to the club!
- Tomás Rossi (7/16) Nov 17 2005 Are you kidding? Didn't you believe it right? It's a fake... not real!
- huh (2/20) Nov 17 2005
- Tomás Rossi (4/26) Nov 17 2005 Real my but!
- clayasaurus (5/39) Nov 17 2005 I know :-P I'm not afraid, but I never really thought 'what if' the
- Tomás Rossi (7/44) Nov 17 2005 The thing is that if this were true, not only C++ would be disreputable ...
- Dejan Lekic (7/7) Nov 17 2005 All I can say - my gratitude to the writer of that, so called, "intervie...
- taras (10/13) Nov 17 2005 Well, it is rather an old joke :-)
- BCS (7/24) Nov 17 2005 I saw that one a few years ago and thought it funny then (is hummer has ...
- clayasaurus (3/36) Nov 17 2005 alias might be more dangerous than typedef, since you can alias
- Tomás Rossi (4/13) Nov 17 2005 I'd rather compare alias with #define (a more restrictive #define). Type...
- clayasaurus (6/25) Nov 19 2005 I was saying that alias may be worse than C's typedef, since C's typedef...
- Tomás Rossi (7/32) Nov 19 2005 Guess you could. But you cannot claim on D for programmers faults. I mea...
- Munchgreeble (14/25) Nov 19 2005 This is another area where I'm just so impressed with D. Not only are ty...
- James Dunne (3/37) Nov 19 2005 Not saying the 'alias' keyword isn't great, but what _other_ way is
- Munchgreeble (5/7) Nov 21 2005 Pointers. But then you can't easily avoid that and at least you have to
- JT (4/31) Nov 19 2005 Yeah its been designed from top to bottom with *easy parsing* in mind. T...
- Tomás Rossi (15/33) Nov 17 2005 You're overstating a little too much.
- taras (16/24) Nov 17 2005 I agree fully that C is a very good tradeoff for assembler. And I never ...
Hi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtml
Nov 15 2005
Not real. "Knud Sřrensen" <12tkvvb02 sneakemail.com> wrote in message news:pan.2005.11.15.18.59.07.75576 sneakemail.com...Hi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtml
Nov 15 2005
No, but pretty funny. And a lot of the comments are fairly accurate regarding some of the code I've been asked to maintain over the years. I like C++, but the range of programming techniques it supports doesn't make it the ideal language for poorly managed teams, or teams of unskilled programmers--both of which are quite common. Zz wrote:Not real. "Knud Sřrensen" <12tkvvb02 sneakemail.com> wrote in message news:pan.2005.11.15.18.59.07.75576 sneakemail.com...Hi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtml
Nov 15 2005
Zz wrote:Not real. "Knud Sřrensen" <12tkvvb02 sneakemail.com> wrote in message news:pan.2005.11.15.18.59.07.75576 sneakemail.com...Surprisingly accurate though, no? =PHi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtml
Nov 15 2005
Knud Sřrensen wrote:Hi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtmlOh great. Now everytime I go to program C++, it actually /feels/ like the language was designed to deceive me.
Nov 16 2005
clayasaurus wrote:Knud Sřrensen wrote:Welcome to the club!Hi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtmlOh great. Now everytime I go to program C++, it actually /feels/ like the language was designed to deceive me.
Nov 16 2005
In article <dlgvac$tql$1 digitaldaemon.com>, clayasaurus says...Knud Sřrensen wrote:Are you kidding? Didn't you believe it right? It's a fake... not real! It's just a joke, don't be afraid. :) PS: Somebody will have to put an after comment to that interview, telling it's just a fake or we'll see many programmers killing themselves in the next days. I would commit suicide if that article were true :P TomHi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtmlOh great. Now everytime I go to program C++, it actually /feels/ like the language was designed to deceive me.
Nov 17 2005
No way! Its real. In article <dlhnif$j3e$1 digitaldaemon.com>, Tomás Rossi says...In article <dlgvac$tql$1 digitaldaemon.com>, clayasaurus says...Knud Sřrensen wrote:Are you kidding? Didn't you believe it right? It's a fake... not real! It's just a joke, don't be afraid. :) PS: Somebody will have to put an after comment to that interview, telling it's just a fake or we'll see many programmers killing themselves in the next days. I would commit suicide if that article were true :P TomHi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtmlOh great. Now everytime I go to program C++, it actually /feels/ like the language was designed to deceive me.
Nov 17 2005
In article <dlhq0n$pns$1 digitaldaemon.com>, huh says...No way! Its real.Real my but! http://www.alledegodenavnevaroptaget.dk/interview.htmlIn article <dlhnif$j3e$1 digitaldaemon.com>, Tomás Rossi says...TomIn article <dlgvac$tql$1 digitaldaemon.com>, clayasaurus says...Knud Sřrensen wrote:Are you kidding? Didn't you believe it right? It's a fake... not real! It's just a joke, don't be afraid. :) PS: Somebody will have to put an after comment to that interview, telling it's just a fake or we'll see many programmers killing themselves in the next days. I would commit suicide if that article were true :PHi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtmlOh great. Now everytime I go to program C++, it actually /feels/ like the language was designed to deceive me.
Nov 17 2005
Tomás Rossi wrote:In article <dlhq0n$pns$1 digitaldaemon.com>, huh says...I know :-P I'm not afraid, but I never really thought 'what if' the language was designed to be deceptive. Now every time I go to C++, I'll have to wonder about it.No way! Its real.Real my but! http://www.alledegodenavnevaroptaget.dk/interview.htmlIn article <dlhnif$j3e$1 digitaldaemon.com>, Tomás Rossi says...In article <dlgvac$tql$1 digitaldaemon.com>, clayasaurus says...Knud Sřrensen wrote:Are you kidding? Didn't you believe it right? It's a fake... not real! It's just a joke, don't be afraid. :)Hi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtmlOh great. Now everytime I go to program C++, it actually /feels/ like the language was designed to deceive me.If it were true, then we could get everyone to switch to D.PS: Somebody will have to put an after comment to that interview, telling it's just a fake or we'll see many programmers killing themselves in the next days. I would commit suicide if that article were true :PTom
Nov 17 2005
In article <dli3m8$11vs$1 digitaldaemon.com>, clayasaurus says...Tomás Rossi wrote:The thing is that if this were true, not only C++ would be disreputable but every (C++)-like language and maybe every OO-language (D included). I think that if this was the case, i'd retire from programming (and studying CSs) and travel to a distant cave in a distant mountain and live like an hermit :P. Lucky for us it's just a scam :) TomIn article <dlhq0n$pns$1 digitaldaemon.com>, huh says...I know :-P I'm not afraid, but I never really thought 'what if' the language was designed to be deceptive. Now every time I go to C++, I'll have to wonder about it.No way! Its real.Real my but! http://www.alledegodenavnevaroptaget.dk/interview.htmlIn article <dlhnif$j3e$1 digitaldaemon.com>, Tomás Rossi says...In article <dlgvac$tql$1 digitaldaemon.com>, clayasaurus says...Knud Sřrensen wrote:Are you kidding? Didn't you believe it right? It's a fake... not real! It's just a joke, don't be afraid. :)Hi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtmlOh great. Now everytime I go to program C++, it actually /feels/ like the language was designed to deceive me.If it were true, then we could get everyone to switch to D.PS: Somebody will have to put an after comment to that interview, telling it's just a fake or we'll see many programmers killing themselves in the next days. I would commit suicide if that article were true :P
Nov 17 2005
All I can say - my gratitude to the writer of that, so called, "interview". IMHO that person (who wrote the text) should be a SciFi writer. :) -- ........... Dejan Lekic http://dejan.lekic.org
Nov 17 2005
In article <pan.2005.11.15.18.59.07.75576 sneakemail.com>, =?iso-8859-1?q?Knud_S=F8rensen?= says...Hi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtmlWell, it is rather an old joke :-) But it is very interesting now precisely the author describes all the shortcomings of C++(and trully, I see absolutely no advantage of that language). I don't agree on the OO criticism thought. When I first stumbled across D I was really impressed. I think it is the first time in the world that a c clone was really useable :-) If we don't count java(with it's crappy standart library). Well, I don't get why everyone is coding in C and C++ anyways... Only the 10min compiling times tend to kill me...
Nov 17 2005
I saw that one a few years ago and thought it funny then (is hummer has become more cynical the more I work with C++). But It also got me thinking "How does D address these shortcomings of C++?" The parody might make a good check list of this to do/avoid doing with D. Has D address them? Are we at risk of falling into any of those traps? I haven't re read the interview yet (I will shortly) but maybe we should make a list of its criticisms and look into them. In article <dlic7d$1gcd$1 digitaldaemon.com>, taras says...In article <pan.2005.11.15.18.59.07.75576 sneakemail.com>, =?iso-8859-1?q?Knud_S=F8rensen?= says...Hi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtmlWell, it is rather an old joke :-) But it is very interesting now precisely the author describes all the shortcomings of C++(and trully, I see absolutely no advantage of that language). I don't agree on the OO criticism thought. When I first stumbled across D I was really impressed. I think it is the first time in the world that a c clone was really useable :-) If we don't count java(with it's crappy standart library). Well, I don't get why everyone is coding in C and C++ anyways... Only the 10min compiling times tend to kill me...
Nov 17 2005
BCS wrote:I saw that one a few years ago and thought it funny then (is hummer has become more cynical the more I work with C++). But It also got me thinking "How does D address these shortcomings of C++?" The parody might make a good check list of this to do/avoid doing with D. Has D address them? Are we at risk of falling into any of those traps? I haven't re read the interview yet (I will shortly) but maybe we should make a list of its criticisms and look into them.alias might be more dangerous than typedef, since you can alias anything, type's and functions and vars.In article <dlic7d$1gcd$1 digitaldaemon.com>, taras says...In article <pan.2005.11.15.18.59.07.75576 sneakemail.com>, =?iso-8859-1?q?Knud_S=F8rensen?= says...Hi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtmlWell, it is rather an old joke :-) But it is very interesting now precisely the author describes all the shortcomings of C++(and trully, I see absolutely no advantage of that language). I don't agree on the OO criticism thought. When I first stumbled across D I was really impressed. I think it is the first time in the world that a c clone was really useable :-) If we don't count java(with it's crappy standart library). Well, I don't get why everyone is coding in C and C++ anyways... Only the 10min compiling times tend to kill me...
Nov 17 2005
In article <dlirse$27fq$1 digitaldaemon.com>, clayasaurus says...BCS wrote:I'd rather compare alias with #define (a more restrictive #define). Typedef of D is much more nice than C++'s one. TomI saw that one a few years ago and thought it funny then (is hummer has become more cynical the more I work with C++). But It also got me thinking "How does D address these shortcomings of C++?" The parody might make a good check list of this to do/avoid doing with D. Has D address them? Are we at risk of falling into any of those traps? I haven't re read the interview yet (I will shortly) but maybe we should make a list of its criticisms and look into them.alias might be more dangerous than typedef, since you can alias anything, type's and functions and vars.
Nov 17 2005
Tomás Rossi wrote:In article <dlirse$27fq$1 digitaldaemon.com>, clayasaurus says...I was saying that alias may be worse than C's typedef, since C's typedef is equivilent to an alias, but you can use alias on function names as well and I'm guessing you could alias alias's, never tried though. I'm betting you could really obfuscate code with D's alias if you wanted to. D's typedef, on the other hand, gets it right.BCS wrote:I'd rather compare alias with #define (a more restrictive #define). Typedef of D is much more nice than C++'s one. TomI saw that one a few years ago and thought it funny then (is hummer has become more cynical the more I work with C++). But It also got me thinking "How does D address these shortcomings of C++?" The parody might make a good check list of this to do/avoid doing with D. Has D address them? Are we at risk of falling into any of those traps? I haven't re read the interview yet (I will shortly) but maybe we should make a list of its criticisms and look into them.alias might be more dangerous than typedef, since you can alias anything, type's and functions and vars.
Nov 19 2005
In article <dlnn4u$n2f$1 digitaldaemon.com>, clayasaurus says...Tomás Rossi wrote:Guess you could. But you cannot claim on D for programmers faults. I mean, you could obfuscate code with any language if you want (maybe not only with alias, typedefs or #defines). Yes, I agree that alias could be misused so to be irksome as hell. It's unavoidable from the language creator point of view because alias, #define and typedef are indispensable for things to look nice (sometimes). TomIn article <dlirse$27fq$1 digitaldaemon.com>, clayasaurus says...I was saying that alias may be worse than C's typedef, since C's typedef is equivilent to an alias, but you can use alias on function names as well and I'm guessing you could alias alias's, never tried though. I'm betting you could really obfuscate code with D's alias if you wanted to. D's typedef, on the other hand, gets it right.BCS wrote:I'd rather compare alias with #define (a more restrictive #define). Typedef of D is much more nice than C++'s one. TomI saw that one a few years ago and thought it funny then (is hummer has become more cynical the more I work with C++). But It also got me thinking "How does D address these shortcomings of C++?" The parody might make a good check list of this to do/avoid doing with D. Has D address them? Are we at risk of falling into any of those traps? I haven't re read the interview yet (I will shortly) but maybe we should make a list of its criticisms and look into them.alias might be more dangerous than typedef, since you can alias anything, type's and functions and vars.
Nov 19 2005
In article <dlnnuu$nua$1 digitaldaemon.com>, Tomás Rossi says...In article <dlnn4u$n2f$1 digitaldaemon.com>, clayasaurus says...This is another area where I'm just so impressed with D. Not only are typedefs fixed, but all forms of aliasing in the language now _have_ to be marked with the alias keyword - brilliant. This means people can use aliasing if they want to, but only in a way where aliases are easy to identify (both to the author and to the rest of the team). Previously aliases have been hard to spot - now they're not. Now you can't get away with kidding yourself, you have to call a spade a spade. Brilliant =) And of course if you want to outlaw aliasing as part of your coding standard (e.g. for safety related applications) it's dead easy to enforce: you just ban the use of the alias keyword - a one line script can check for violations. I really am quite stunned with the quality of the ideas that have gone into this language. Phenomenal! MunchI was saying that alias may be worse than C's typedef, since C's typedef is equivilent to an alias, but you can use alias on function names as well and I'm guessing you could alias alias's, never tried though. I'm betting you could really obfuscate code with D's alias if you wanted to. D's typedef, on the other hand, gets it right.Guess you could. But you cannot claim on D for programmers faults. I mean, you could obfuscate code with any language if you want (maybe not only with alias, typedefs or #defines). Yes, I agree that alias could be misused so to be irksome as hell. It's unavoidable from the language creator point of view because alias, #define and typedef are indispensable for things to look nice (sometimes).
Nov 19 2005
Munchgreeble wrote:In article <dlnnuu$nua$1 digitaldaemon.com>, Tomás Rossi says...Not saying the 'alias' keyword isn't great, but what _other_ way is there to define an alias that you can think of?In article <dlnn4u$n2f$1 digitaldaemon.com>, clayasaurus says...This is another area where I'm just so impressed with D. Not only are typedefs fixed, but all forms of aliasing in the language now _have_ to be marked with the alias keyword - brilliant. This means people can use aliasing if they want to, but only in a way where aliases are easy to identify (both to the author and to the rest of the team). Previously aliases have been hard to spot - now they're not. Now you can't get away with kidding yourself, you have to call a spade a spade. Brilliant =) And of course if you want to outlaw aliasing as part of your coding standard (e.g. for safety related applications) it's dead easy to enforce: you just ban the use of the alias keyword - a one line script can check for violations. I really am quite stunned with the quality of the ideas that have gone into this language. Phenomenal! MunchI was saying that alias may be worse than C's typedef, since C's typedef is equivilent to an alias, but you can use alias on function names as well and I'm guessing you could alias alias's, never tried though. I'm betting you could really obfuscate code with D's alias if you wanted to. D's typedef, on the other hand, gets it right.Guess you could. But you cannot claim on D for programmers faults. I mean, you could obfuscate code with any language if you want (maybe not only with alias, typedefs or #defines). Yes, I agree that alias could be misused so to be irksome as hell. It's unavoidable from the language creator point of view because alias, #define and typedef are indispensable for things to look nice (sometimes).
Nov 19 2005
Not saying the 'alias' keyword isn't great, but what _other_ way is there to define an alias that you can think of?Pointers. But then you can't easily avoid that and at least you have to put a little star in front of your identifier, which flags up to the reader that it could be an alias. Or is that not what you were thinking of? Munch
Nov 21 2005
In article <dlo7h0$195f$1 digitaldaemon.com>, Munchgreeble says...In article <dlnnuu$nua$1 digitaldaemon.com>, Tomás Rossi says...Yeah its been designed from top to bottom with *easy parsing* in mind. This opens up the posibility of tools the quality of which we have never seen with c++. We have yet to fully unleash the power of this language.In article <dlnn4u$n2f$1 digitaldaemon.com>, clayasaurus says...This is another area where I'm just so impressed with D. Not only are typedefs fixed, but all forms of aliasing in the language now _have_ to be marked with the alias keyword - brilliant. This means people can use aliasing if they want to, but only in a way where aliases are easy to identify (both to the author and to the rest of the team). Previously aliases have been hard to spot - now they're not. Now you can't get away with kidding yourself, you have to call a spade a spade. Brilliant =) And of course if you want to outlaw aliasing as part of your coding standard (e.g. for safety related applications) it's dead easy to enforce: you just ban the use of the alias keyword - a one line script can check for violations. I really am quite stunned with the quality of the ideas that have gone into this language. Phenomenal! MunchI was saying that alias may be worse than C's typedef, since C's typedef is equivilent to an alias, but you can use alias on function names as well and I'm guessing you could alias alias's, never tried though. I'm betting you could really obfuscate code with D's alias if you wanted to. D's typedef, on the other hand, gets it right.Guess you could. But you cannot claim on D for programmers faults. I mean, you could obfuscate code with any language if you want (maybe not only with alias, typedefs or #defines). Yes, I agree that alias could be misused so to be irksome as hell. It's unavoidable from the language creator point of view because alias, #define and typedef are indispensable for things to look nice (sometimes).
Nov 19 2005
In article <dlic7d$1gcd$1 digitaldaemon.com>, taras says...In article <pan.2005.11.15.18.59.07.75576 sneakemail.com>, =?iso-8859-1?q?Knud_S=F8rensen?= says...Despite the shortcomings, there's advantages in many MANY things.Hi I stumbled over this interview with Stroustrup http://artlung.com/smorgasborg/Invention_of_Cplusplus.shtmlWell, it is rather an old joke :-) But it is very interesting now precisely the author describes all the shortcomings of C++(and trully, I see absolutely no advantage of that language).I don't agree on the OO criticism thought. When I first stumbled across D I was really impressed. I think it is the first time in the world that a c clone was really useable :-)You're overstating a little too much.If we don't count java(with it's crappy standart library). Well, I don't get why everyone is coding in C and C++ anyways... Only the 10min compiling times tend to kill me...They code in C and C++ because these languages are powerful and mature languages for many tasks. Plus, you could not write C++ or D code (mean using most part of it's features, not only inline asm) that do things in the exact way you want they to happen. With C++/D you're leaving a lot of work to the compiler; C is much more ASM straightforward so it will never die. That's why C is the language OS developers choose. Hope D can achieve the same results in this field in the future. Also D IMHO is still immature in the sense that it isn't recommendable to employ it on serious big projects (yet). Some features will be added, some bugs will be fixed, a long road we'll have to walk yet :) (hope this all happens soon). Regards (and dreaming some day D becomes the standard) Tom
Nov 17 2005
They code in C and C++ because these languages are powerful and mature languages for many tasks. Plus, you could not write C++ or D code (mean using most part of it's features, not only inline asm) that do things in the exact way you want they to happen. With C++/D you're leaving a lot of work to the compiler; C is much more ASM straightforward so it will never die. That's why C is the language OS developers choose. Hope D can achieve the same results in this field in the future.TomI agree fully that C is a very good tradeoff for assembler. And I never doubted it that C is bad for OS programming. It is just that C isn't good for anything else besides the low-level programming(I use it too for this). And C++ isn't good at anything. Well, let's not start flame wars around here :-) I can only tell my optnion. I grew with delphi(now freepascal) and when I tried to switch to C++, I just was not able to do it. The syntax was so messy and the whole code structure so unclear... I myself tend to believe in virtual machines that will wrap around the hardware and act like OS, much like microsofts .NET. This will remove the porting problems. What I would like to have in D are precompiled metapackeges(modules) taht will contain the parsed header information about types and functions + links to the libraries, with some version checking mechanisms. This is much like what pascal is doing. This way the compilation will be much faster and error-free. I think the header files are one of greatest C/C++ problems, even if they make them so incredibly flexible. -taras
Nov 17 2005