Starting from scratch? (PHP Background)
OneSadCookie Wrote:I'd rather stick to good ol' dependable C than get stuck in a quagmire of multiple virtual protected inheritance with templates, operator overloading and copy constructors in C++
That "quagmire" of templates and operator overloading has allowed me to shorten my code by about 10 to 15% on average, leaving me with cleaner, more legible algorithms. Frankly, I like having a templated lrp() function ( and dozens of others that work on anything with the right operators exposed ), and vector, matrix and quaternion classes with full operator support.
Plus, the STL is fantastic. Many times I've been able to go from dozens of lines of c-like code to a handful of STL, with better performance in the end, because the algorithms could be focused on over the implementation.
I'm not knocking c. But I do have love for C++. It just has to be used wisely, is all.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Starting from scratch? (C Background) | SLDCGG | 6 | 3,663 |
Aug 9, 2005 01:13 AM Last Post: sealfin |
|


