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 #23736 is a reply to message #23732] Wed, 18 November 2009 12:48 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
Quote:


GUI_APP_MAIN // U++ initialization is hidden by this macro



Quote:


int main(int argc, char *argv[]) // it is possible to write



Possible, but not really standard. And GUI_APP_MAIN does more than just Application app(argc, argv).

I am not really happy abou these macros too, but they really DO encapsulate a lot of platform specific stuff.

Quote:


Back to naming conventions if you're using STL with camelCase you may make the difference between you functions, algorithms, etc. and those provided by STL and say: Hey this Sort is provided by U++ not STL (because different naming conventions). However Mirek if you are supposed to re-create U++ which naming convention would you use?


Next time, I might consider camelCase, but I would most likely used InitCaps anyway....

Mirek
 
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: Sat May 11 23:18:42 CEST 2024

Total time taken to generate the page: 0.02810 seconds