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

Definitely subjective. It's easy to argue that it's actually the C family of languages that have a backwards declaration syntax - in case of complex declarations, not just backwards but completely crazy inside-out zigzag [1]. Yes, there's a logic in it, but it's definitely not intuitive. On the other hand, the "type-on-the-right" syntax is quite popular outside the C family. Pascal, Ada, Go, Scala, Rust...

[1] http://www.unixwiz.net/techtips/reading-cdecl.html



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

Search: