Home » Community » U++ community news and announcements » 2020.2rc1
Re: 2020.2rc1 [message #55186 is a reply to message #55180] |
Fri, 16 October 2020 09:55 |
|
mirek
Messages: 13980 Registered: November 2005
|
Ultimate Member |
|
|
Klugier wrote on Fri, 16 October 2020 00:30The idea is that someday we become mainstream Beside that we could introduce some mainstream things still offering our uniqueness. In such case I do not think this big change in the philosophy or simplicity. I still think that we should keep with the best standards and practices for C/C++ if applicable. So moving in some areas towards mainstream solution is not something that we should afraid of. This will give us broader horizons
If we become mainstream, maybe so will become "using namespace"
Realistically, I agree with most things in "mainstream", but there are several dogmas that seem out of context. This is one of them...
Think about what you gain / loose by having / not having using namespace Upp in the header....
In practical terms, with using namespace, you can use U++ types without qualification at the risk of nameclash with either your own code or some other namespace that you have are "using". In the case of nameclash, you have to explicitly qualify namespace. Note that there also is no chance for error: nameclash is reported at compile time.
Without "using namespace", you have to qualify everything. Does not seem like a win option to me...
BTW, now thinking about it, I really dislike
namespace Upp {
#define LAYOUTFILE <Rajce/Rajce.lay>
#include <CtrlCore/lay.h>
} // namespace Upp
- that is something we should fix in the next release. This should work without Upp... I think the most correct fix is in the Layout designer - add namespace setting to .usc file and make layout designer to use it / insert into .lay....
Mirek
[Updated on: Fri, 16 October 2020 10:03] Report message to a moderator
|
|
|
|
|
2020.2rc1
By: mirek on Thu, 08 October 2020 12:33
|
|
|
Re: 2020.2rc1
By: Klugier on Thu, 08 October 2020 12:46
|
|
|
Re: 2020.2rc1
By: mirek on Thu, 08 October 2020 19:24
|
|
|
Re: 2020.2rc1
By: omari on Fri, 09 October 2020 11:11
|
|
|
Re: 2020.2rc1
By: mirek on Fri, 09 October 2020 17:17
|
|
|
Re: 2020.2rc1
By: omari on Fri, 09 October 2020 17:39
|
|
|
Re: 2020.2rc1
By: jimlef on Thu, 08 October 2020 19:25
|
|
|
Re: 2020.2rc1
By: Klugier on Thu, 08 October 2020 22:15
|
|
|
Re: 2020.2rc1
By: mirek on Thu, 08 October 2020 23:47
|
|
|
Re: 2020.2rc1
By: mirek on Thu, 08 October 2020 23:48
|
|
|
Re: 2020.2rc1
By: Oblivion on Fri, 09 October 2020 20:11
|
|
|
Re: 2020.2rc1
By: jimlef on Sat, 10 October 2020 03:57
|
|
|
Re: 2020.2rc1
By: Klugier on Sun, 11 October 2020 18:10
|
|
|
Re: 2020.2rc1
By: jimlef on Sun, 11 October 2020 20:05
|
|
|
Re: 2020.2rc1
By: mirek on Sun, 11 October 2020 21:01
|
|
|
Re: 2020.2rc1
By: Klugier on Sun, 11 October 2020 21:12
|
|
|
Re: 2020.2rc1
By: Klugier on Wed, 14 October 2020 00:26
|
|
|
Re: 2020.2rc1
By: jimlef on Wed, 14 October 2020 04:02
|
|
|
Re: 2020.2rc1
By: Klugier on Wed, 14 October 2020 20:52
|
|
|
Re: 2020.2rc1
By: jimlef on Wed, 14 October 2020 22:22
|
|
|
Re: 2020.2rc1
By: mirek on Thu, 15 October 2020 11:10
|
|
|
Re: 2020.2rc1
By: mirek on Thu, 15 October 2020 11:11
|
|
|
Re: 2020.2rc1
By: mirek on Thu, 15 October 2020 15:30
|
|
|
Re: 2020.2rc1
By: Klugier on Thu, 15 October 2020 18:19
|
|
|
Re: 2020.2rc1
By: Klugier on Thu, 15 October 2020 22:18
|
|
|
Re: 2020.2rc1
By: mirek on Thu, 15 October 2020 22:46
|
|
|
Re: 2020.2rc1
By: Klugier on Fri, 16 October 2020 00:30
|
|
|
Re: 2020.2rc1
By: coolman on Fri, 16 October 2020 09:40
|
|
|
Re: 2020.2rc1
By: mirek on Fri, 16 October 2020 09:55
|
|
|
link errors with new(std::nothrow)
By: wimpie on Sun, 11 October 2020 17:00
|
|
|
Re: link errors with new(std::nothrow)
By: mirek on Sun, 11 October 2020 20:21
|
|
|
Re: 2020.2rc1
By: JeyCi on Mon, 12 October 2020 06:49
|
|
|
Re: 2020.2rc1
By: mirek on Mon, 12 October 2020 09:49
|
|
|
Re: 2020.2rc1
By: JeyCi on Mon, 12 October 2020 10:22
|
|
|
Re: 2020.2rc1
By: mirek on Mon, 12 October 2020 11:49
|
|
|
Re: 2020.2rc1
By: Novo on Mon, 12 October 2020 20:10
|
|
|
Re: 2020.2rc1
By: mirek on Mon, 12 October 2020 23:15
|
|
|
Re: 2020.2rc1
By: mirek on Mon, 12 October 2020 23:46
|
|
|
Re: 2020.2rc1
By: Novo on Tue, 13 October 2020 02:22
|
|
|
Re: 2020.2rc1
By: mirek on Tue, 13 October 2020 09:55
|
|
|
Re: 2020.2rc1
By: Novo on Tue, 13 October 2020 00:21
|
|
|
Re: 2020.2rc1
By: mirek on Tue, 13 October 2020 00:46
|
|
|
Re: 2020.2rc1
By: Oblivion on Fri, 16 October 2020 00:41
|
|
|
Re: 2020.2rc1
By: mirek on Fri, 16 October 2020 11:26
|
|
|
Re: 2020.2rc1
By: Klugier on Fri, 16 October 2020 11:49
|
|
|
Re: 2020.2rc1
By: mirek on Fri, 16 October 2020 14:13
|
|
|
Re: 2020.2rc1
By: mirek on Tue, 20 October 2020 09:40
|
|
|
Re: 2020.2rc1
By: Tom1 on Tue, 20 October 2020 21:03
|
Goto Forum:
Current Time: Tue May 14 19:20:00 CEST 2024
Total time taken to generate the page: 0.02588 seconds
|