El Jueves, 27 de Marzo de 2008, Michael Giagnocavo escribió:
> software source code is written by humans, for humans (and finally for
> compilers). I'm not sure anyone writes SIP messages by hand or creates them
> to make them easier to read.
Even if SIP is as it is just to be human readable, it doesn't justify the
syntax it allows. For example:
a)
------------------------------------------------------------
Content-Length: 46
------------------------------------------------------------
b)
------------------------------------------------------------
Content-Length :
46
------------------------------------------------------------
Both a) and b) are correct, and b) is not more human readable at all. Also a)
is 400 times easier to parse than b) so, why allow b) ?
Ok, I understand that SIP was born from HTTP and so, but anyway I hope in a
future SIP/X.0 appears eliminating so many and innecesary permissive syntax.
Regards.
--
Iñaki Baz Castillo
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors