Re: [dev] [OT] What's wrong with C++?

2010-09-12 Thread hiro
This is how I remember where ++ does what :D On 9/12/10, Kurt H Maier wrote: > On Fri, Sep 10, 2010 at 2:26 PM, Szabolcs Nagy wrote: >> i once looked into this, here is what i've found: >> http://port70.net/~nsz/16_c++.html > * quote: > c++; /* this makes c bigger but returns the o

Re: [dev] [OT] What's wrong with C++?

2010-09-12 Thread Kurt H Maier
On Fri, Sep 10, 2010 at 2:26 PM, Szabolcs Nagy wrote: > i once looked into this, here is what i've found: > http://port70.net/~nsz/16_c++.html * quote: c++; /* this makes c bigger but returns the old value */ This is utterly brilliant. -- # Kurt H Maier

Re: [dev] [OT] What's wrong with C++?

2010-09-11 Thread matus,
On Sat, Sep 11, 2010 at 10:58:19PM +0100, David Tweed wrote: > On Sat, Sep 11, 2010 at 10:40 AM, Paolo wrote: > >>> Why program in C++ when you can do it in C, making the program > >>> simpler and better? > > When you can't make the program simpler and better, or you need to > > do it faster than

Re: [dev] [OT] What's wrong with C++?

2010-09-11 Thread v4hn
On Sat, Sep 11, 2010 at 01:59:07PM +0200, Nicolai Waniek wrote: > From looking at FeFe's presentation just some notes: His complaints are > mostly corner cases. You can produce some stupid corner cases where the > language sucks for every language. Sure, but it's quite easy for C++ ;) After all th

Re: [dev] [OT] What's wrong with C++?

2010-09-11 Thread David Tweed
On Sat, Sep 11, 2010 at 10:40 AM, Paolo wrote: >>> Why program in C++ when you can do it in C, making the program simpler and >>> better? > When you can't make the program simpler and better, or you need to do it > faster > than you do in C, just write C++ or whatever. > > This is just the place

Re: [dev] [OT] What's wrong with C++?

2010-09-11 Thread Nicolai Waniek
On 09/10/2010 07:46 PM, v4hn wrote: > On Fri, Sep 10, 2010 at 08:19:38PM +0300, Nikhilesh S wrote: >> I haven't really understood the problems with C++ that the people here >> that have problems with C++ have[...] > > Felix von Leitner gave a pretty good presentation in 2007 on such problems :) >

Re: [dev] [OT] What's wrong with C++?

2010-09-11 Thread Paolo
>One of my maxims is that "everyone mistakenly thinks that the kind of >programs that they write are the kind of programs everyone writes". There are arguments against C++. Nothing more than that. I'd use Python to check md5 hash of my downloads $alias md5.="python -c \"import hashlib; print has

Re: [dev] [OT] What's wrong with C++?

2010-09-10 Thread Kris Maglione
On Fri, Sep 10, 2010 at 08:19:38PM +0300, Nikhilesh S wrote: I must start out saying I don't have much experience in software development with larger teams on large projects or with lots of other people, or in 'commercial software development' in companies - I've just done stuff as a hobby in my

Re: [dev] [OT] What's wrong with C++?

2010-09-10 Thread David Tweed
On Fri, Sep 10, 2010 at 7:19 PM, Paolo wrote: > Why program in C++ when you can do it in C, making the program simpler and > better? One of my maxims is that "everyone mistakenly thinks that the kind of programs that they write are the kind of programs everyone writes". There are some domains in

Re: [dev] [OT] What's wrong with C++?

2010-09-10 Thread Ramil Farkhshatov
There is a good analysis of C++ monstrosity: http://yosefk.com/c++fqa -- Ramil Farkhshatov

Re: [dev] [OT] What's wrong with C++?

2010-09-10 Thread Szabolcs Nagy
* Nikhilesh S [2010-09-10 20:19:38 +0300]: > Is C++ broken because no one really understands it fully? Is allowing > multiple paradigms in a single langauge a problem? Should language > enforce paradigm? > > Could you elaborate in detail, what exactly are your problems with C++? > Thanks. :) i o

Re: [dev] [OT] What's wrong with C++?

2010-09-10 Thread Paolo
Uriel has a page on that, you can find some link there. http://harmful.cat-v.org/software/c++/ C++ inserts a serie of unneeded complexity to the straightforwardness of C. If you think object-orientedly, you sure imagine a lot of Player objects each with a Position object (x,y,z) referenced to a

Re: [dev] [OT] What's wrong with C++?

2010-09-10 Thread Pierre Chapuis
>Could you elaborate in detail, what exactly are your problems with C++? >Thanks. :) You should read http://suckless.org/devel/style_guide. Moreover the C++ standard is so bloated that to my knowledge no compiler ever implemented it completely (Can I haz importz?? 'cause code doesn't belong in

Re: [dev] [OT] What's wrong with C++?

2010-09-10 Thread v4hn
On Fri, Sep 10, 2010 at 08:19:38PM +0300, Nikhilesh S wrote: > I haven't really understood the problems with C++ that the people here > that have problems with C++ have[...] Felix von Leitner gave a pretty good presentation in 2007 on such problems :) http://www.fefe.de/c++/c%2b%2b-talk.pdf > Ma

[dev] [OT] What's wrong with C++?

2010-09-10 Thread Nikhilesh S
I must start out saying I don't have much experience in software development with larger teams on large projects or with lots of other people, or in 'commercial software development' in companies - I've just done stuff as a hobby in my free time for the past 5 years or so, learning on my own - but