Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Pick overloaded by Rvalue?
Re: Pick overloaded by Rvalue? [message #19114 is a reply to message #19113] Thu, 13 November 2008 00:20 Go to previous messageGo to previous message
captainc is currently offline  captainc
Messages: 278
Registered: December 2006
Location: New Jersey, USA
Experienced Member
Quote:

- there is no other language covering all areas from HW up to highest levels of abstraction

- many alternatives lack efficient operator overloading

These 2 reasons are both good and bad. Much confusion comes from having operators do completely different things among different classes. In order to understand C++ code you didn't write yourself, you will have to read the entire codebase before you get a really good handle on what is going on. I think C++ code is the most difficult to maintain for this reason. Someone could have overloaded a simple operator globally and you are stuck looking at code expecting it to do one thing and not understanding why it is doing something else. If C++ code is not well documented, people will give up and write from scratch!

Quote:

- templates are hard to learn, but are the most powerful, esp. w.r.t. efficiency

Conceptually, templates are easy. But in implementation, there are so many rules surrounding them, especially the differences between compilers and how they handle templates, that it is difficult to master them.

I compare C++ to the English language; there are so many exceptions to the rules, that mastering the language cannot be accomplished in a short period of time.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Looking for someone to convert a ulimate++ project to Microsoft Visual C++ project
Next Topic: Fantastic work!!
Goto Forum:
  


Current Time: Sat May 11 16:01:21 CEST 2024

Total time taken to generate the page: 0.02484 seconds