Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

(1) you're confusing C string and other languages strings (even Swift strings are not the same thing as NSString or C strings). Anyhow, even in C \( is perfectly accepted by compilers

    gcc -Wall -x c - <<EOF
    #include <stdio.h>
    int main(){ printf("\(hi"); }
    EOF
So it's perfectly reasonable to write it and not mean interpolation (maybe they meant "\\(", but that's another matter)

(2) A sequence can be sorted without you knowing which elements are inside it, A computation can be known to terminate without you knowing (yet) which value it will yield.

Similarly, you don't need to have internal knowledge of your code to know that you'll be able to rely on RC consistency in the future (otoh I guess that something consistent is not necessarily the same as something predictable)



> Anyhow, even in C \( is perfectly accepted by compilers

Even if it’s accepted it’s not valid, at least in the C99 standard.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: