Re:Why has Plan 9 chosen statically linked binaries instead ...
by fao_ on Sunday February 17, 2019 @07:09PM
(#19187748)
I like using C's string gluing thing:
> printf("this is a test\n"
> "this is \"another\" test\n"
> "hello world\n");
You're right though, I do have to pay more attention in strings. Paying more attention doesn't seem like a negative thing to me, though.
I don't think I would care one bit if my syntax highlighter stopped making keywords blue and type names green. But damn, would it get frustrating not having dumb quoting mistakes stand out right away. I like fixing those based on immediate visual feedback as I type, vs looking at a surprise compiler error next time I try to build.
Which of the below string expressions (C# as example language, many are similar) has a mistake?
1.
2. 3. 4. 5.