[haiku-development] Re: Cleaning up libbe - app_server communication

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 04 Sep 2007 19:50:48 +0200

Hi,

Michael Lotz wrote (2007-09-04, 19:13:59 [+0200]):
> So my questions are now:
> 1) Should I go on and "sync" the client and server code so they always 
> use the
> same types?
> 2) May I remove the unnecessary explicit type given with the <someType> 
> syntax?
> 3) Should I check the (kinda hacky) debug mechanism in too (guarded by a 
> debug
> define)?
> 
> If we officially don't care too much about those exact types used as long 
> as it works I will only check to ensure that no complete mismatches 
> happens somewhere. Otherwise I'd start to cleanup and sync the client and 
> server code. I'd like to hear some opinions first before I start throwing 
> around commits ;-)

+1 on 1) and 3). I see your point with 2), but I have found it helpful in 
the past to spot errors more easily. On the other hand, maybe your added 
debug code will take care of spotting errors in the future.

Best regards,
-Stephan
 

Other related posts: