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 » U++ Library support » U++ Library : Other (not classified elsewhere) » User lists of "bad" naming of classes, functions etc in U++...
Re: User lists of "bad" naming of classes, functions etc in U++... [message #11650 is a reply to message #1574] Thu, 20 September 2007 15:16 Go to previous messageGo to previous message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
Util.h:

class Exc : public String {
public:
	Exc(); // throw according to GetLastError()
	Exc(const String& desc) : String(desc) {}

//	void Show() const;
};

class AbortExc : public Exc {
public:
	AbortExc();
};


There's no word "Exception" anywhere, not even in comments.
Makes it hard to find trough text search if you are just checking around if the UPP has some predefined Exception class.
I don't ask as much for renaming the class, as for the comment added.
 
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: BUG: Key states incorrectly cleared on Ubuntu
Next Topic: Painter DrawLine proposal
Goto Forum:
  


Current Time: Sun May 12 02:22:30 CEST 2024

Total time taken to generate the page: 0.01716 seconds