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 » Developing U++ » UppHub » FTP class and reference example for U++
Re: FTP class and reference example for U++ [message #47929 is a reply to message #47925] Mon, 24 April 2017 22:12 Go to previous messageGo to previous message
Klugier is currently offline  Klugier
Messages: 932
Registered: September 2012
Location: Poland, Kraków
Experienced Contributor
Hello,

For me it is a great news that somebody published video related to U++. You could consider posting URL to our site in the movie description Wink

Backing to FTP - did you consider moving to enum class (c++11 feature) instead of old-c like enum. I think the whole API will gained on this change. For example:
class DirEntry {
// ...
enum Style      { UNIX, DOS }; // In my opinion "Type" world is a better alternative in this situation...
enum class Type { UNIX, DOS };


Usage:
if (dirType == DirEntry::Type::UNIX) {
  // .. do something
}


instead of
if (dirType == DirEntry::UNIX) {
   // ...
}


Much more readable. Isn't it?

Let me ask you one question - do you have GitHub repository for that project?

Sincerely,
Klugier


Ultimate++ - one framework to rule them all.

[Updated on: Mon, 24 April 2017 22:15]

Report message to a moderator

 
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: Am I doing something wrong, or is there a bug? FIREBIRD
Next Topic: OpenCV and openCV_Demo copiling error
Goto Forum:
  


Current Time: Fri May 27 08:12:05 CEST 2022

Total time taken to generate the page: 0.02432 seconds