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

That if/else syntax is used in K&R's The C Programming Language, the source of Unix (and thus of FreeBSD etc.), and it's pretty common in JavaScript. It may not be the most common syntax in modern C, but it's hardly weird or obscure.


> That if/else syntax is used in K&R's The C Programming Language, the source of Unix (and thus of FreeBSD etc.)

And it's part of Sun/Oracle's official java coding conventions.




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

Search: