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++ MT-multithreading and servers » Web/TServ [BUG][FIXED]
Re: bug in Web/TServ [message #2238 is a reply to message #2236] Tue, 04 April 2006 23:37 Go to previous messageGo to previous message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
I can not find any errors in that one. But it is still very tricky Smile I think there are some practical problems with writing tricky code like this.

problem 1: by looking at the code it is quite much non-obvious if the intention was to replace two double quotes with one double quote, or it is just an unintentional side effect/bug. The code lacks expresiveness to human readers.

problem 2: calling a variable "exec" is nasty. exec is a function in the C standard library, and even tough it is valid to create a variable with the same name, it bewilders readers, and requires much more attention from them. I think this could be easily avoided.
 
Read Message BugFixedDead.gif
Read Message
Read Message
Read Message
Previous Topic: SlaveProcess should be moved from Web to Core
Next Topic: TServ fails to compile on Linux [BUG][FIXED]
Goto Forum:
  


Current Time: Sun Aug 24 17:08:42 CEST 2025

Total time taken to generate the page: 0.05546 seconds