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

For me no, but I think it depends a lot on the experience of the developer and the language it is using. And environment variable is more common knowledge, it's cross platform and supported in any decent language. I bet that many don't even know that something like isatty(3) exists.


> I bet that many don't even know that something like isatty(3) exists.

Also shell scripts can't directly use that.


Sure, and that's why POSIX provides `test -t`.




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

Search: