Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Thinking in Sepples Vol. 2

Name: Anonymous 2008-07-06 18:36

I have just finished reading part 2 of this book and I feel so fucking disappointed with the whole language. I thought the standard algorithms would let me avoid writing boring loops. I got predicates and funky syntax instead.
I thought more advanced template techniques were an awesome way to keep type-safety. Nobody mentioned there was no way to indicate what methods were needed by the template (aka concepts in C++0xF).

I thought it would be fun to try some more advanced C++ in a project I'm planning. Now it looks like it would be fucking painful. Is there anyone in here with professional C++ experience with those features? Are these features worth using in the long run?

Name: Anonymous 2008-07-08 17:57

Answering OP's quations -- "yes", and "it depends".  The funky features in contemporary C++ are great for showing off that you are a ninja black belt and know how to bend the language to your will to do things that plain 'C' programmers never dreamed of  -- but then you'll be the one stuck maintaining it, and in any case, you can find another language that cuts through half of the crap.

Put it this way -- I write the ninja C++ for money; for fun I use pretty much anything else.  And for the graph traversal you want I'd choose something functional -- while I'm currently on an Erlang kick and would choose that at the moment, even F# (aka OCaml.Net) would be better than Sepples for the job.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List