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 » Community » U++ community news and announcements » .lay / .usc namespace
Re: .lay / .usc namespace [message #55339 is a reply to message #55338] Sat, 31 October 2020 23:21 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Klugier wrote on Sat, 31 October 2020 20:28

I also saw following hack in the code:
String CurrentNamespace; // this is ugly hack, but better than rewrite everything

The whole file when the function is used is relatively simply, so why not just extract class and put current namespace as variable? Should be easy and we will have better/cleaner (easier to maintain) code in that place.

Klugier


Would need to redesign about 1000 lines of code. Not really worth it in this case.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: ide: Compare with the next file, break long lines in comparison
Next Topic: SSH package is upgraded to libssh2 v1.9.0
Goto Forum:
  


Current Time: Sun Aug 24 07:53:15 CEST 2025

Total time taken to generate the page: 0.04180 seconds