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++ Widgets - General questions or Mixed problems » tutorial check completed - "bugs" and bug
Re: tutorial check completed - "bugs" and bug [message #4705 is a reply to message #4692] Sun, 20 August 2006 21:33 Go to previous messageGo to previous message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
luzr wrote on Sun, 20 August 2006 20:23

Werner wrote on Sun, 20 August 2006 05:55

There is a minor "bug" in tutorial "Gui14", "Gui15", "Gui20a", "Gui20b", and "Gui20c":

The respective line
typedef MyApp[Window] CLASSNAME;

is unnecessary.



That is true, but in this case, I think I will keep it as it is. Adding this typedef for GUI class is a good practice in U++.... (because you soon will need some THISBACK anyway Smile

Mirek


Apologies for being insistent Embarassed , but might I suggest that you reconsider your decision Rolling Eyes ?

After all the tutorials are not production code, or are they? They are meant to demonstrate a certain topic. And here the KISS principle applies: Keep it short and simple! If you do prefer to retain the line in question - and it goes without saying that your "good practice" argument is compelling - please consider to document this line. There are probably a lot of users like me who are not professional programmers and have to strive hard to analyze code undocumented to a large extent Shocked .

Werner
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Minor "bug" in "tutorial / Gui08, Gui09"
Next Topic: OcxConnectionPointContainer
Goto Forum:
  


Current Time: Thu May 16 04:16:59 CEST 2024

Total time taken to generate the page: 0.02097 seconds