4 ms·
> yet it breaks nearly every text-based tool you could possibly imagine It breaks badly designed text protocols - some can argue that it's a good idea - "crash
by jagrsw 5y ago
> yet it breaks nearly every text-based tool you could possibly imagine
It breaks badly designed text protocols - some can argue that it's a good idea - "crash early, crash loud" etc.
Also if your protocol breaks with newlines, it probably breaks with other non-literals - brackets, quotes, NUL-bytes, control characters, carriage return char, multibyte chars etc etc.
- wutbrodo 5y ago> It breaks badly designed text protocols - some can argue that it's a good idea - "crash early, crash loud" etc This is decisively not a case of "fail loudly", which I agree is generally a good idea. The very first example in the article is one of silent incorrect/ambiguous output, not loud failure.