Starting from scratch? (PHP Background)

Sage
Posts: 1,199
Joined: 2004.10
Post: #32
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++ Wink

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.
Quote this message in a reply
Post Reply 


Messages In This Thread
Starting from scratch? (PHP Background) - Cronikeys - Aug 4, 2005, 02:43 PM
Starting from scratch? (PHP Background) - atek3000 - Oct 22, 2005, 06:32 PM
Starting from scratch? (PHP Background) - emilmont - Oct 23, 2005, 03:53 AM
Starting from scratch? (PHP Background) - atek3000 - Oct 25, 2005, 08:10 AM
Starting from scratch? (PHP Background) - atek3000 - Oct 25, 2005, 09:46 AM
Starting from scratch? (PHP Background) - TomorrowPlusX - Oct 25, 2005 10:38 AM
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