Hi stackers,
I'm programming a simple network chat with a Python server and a Java client. But one question came into my mind:
Which "network protocol" should I use for communication? There are some possibilities for me:
- YAML: Nice to parse, problem: parsed objects contain language specific parts
- XML: Easy to parse, big overhead for simple tasks
- create an own "language": Problems with escaping, but most flexible
So what is the best practice for this? Are there other alternatives?