Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClientServerFactory

 
Sean Beecroft
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it out of scope to use a ClientServerFactory instead of an if statement in main() ?

I am trying to keep things simple, yet elegant. I'm not sure if they will punish me for adding more scope but perhaps keeping things more elegant.
 
Sean Beecroft
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Based on the fact that nobody commented on this I am going to assume its not a good idea.
 
Alex Belisle Turcot
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I agree with you I personally used a simple If-else statement.

Regards,
Alex
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic