Re: [Boston.pm] C++ books

2013-04-15 Thread John Redford
Greg London writes: I would like a book that introduces c and c++ from the point of view of showing the best practices first and comp-sci theory gets put in the second edition so I don't have to buy it. I would highly recommend 'The Design and Evolution of C++' by Stroustrup. It's an older

Re: [Boston.pm] C++ books

2013-04-15 Thread Greg London
_However_, using C++ is the worst way to write typical business application programs -- at least at this point in time. There are now two good reasons to use C++; one is to write highly optimized code which uses pointer manipulations, ... the other is to write for a platform which _only_

Re: [Boston.pm] C++ books

2013-04-15 Thread Ben Tilly
On Mon, Apr 15, 2013 at 11:09 AM, Greg London em...@greglondon.com wrote: [...] So, I've been doing verilog testbenches for years, system verilog test benches for years, and they all have their limtations as not being what I would call a real language. So, I'm trying to write a testbench in

Re: [Boston.pm] C++ books

2013-04-15 Thread Greg London
I get a test file with a lot of code that looks like this: printf( %s %d: Some useful description and maybe a number %d\n, (expected_value == test_value) ? ok : not ok, ++tests, some_useful_debugging_info ); I find it manageable, but I'm wondering about the next guy. I've

Re: [Boston.pm] C++ books

2013-04-15 Thread Mike Small
Ben Tilly bti...@gmail.com writes: ... I'm writing some C++ at the moment that fits into the first group (performance-critical code). For unit testing I've been emitting TAP protocol and testing it with prove, but are there better approaches? I get a test file with a lot of code that looks

Re: [Boston.pm] C++ books

2013-04-15 Thread Shirley Márquez Dúlcey
I would highly recommend 'The Design and Evolution of C++' by Stroustrup. It's an older book now, but still was written with a great deal of perspective on the use of C++ and does a good job of explaining why many things are the way they are -- which of those things are for the best and which