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

> For me it is the syntax used by C for pointers that makes it confusing.

Personally I don't see much difference between * (C way), ^ (Pascal way) or ref (Algol way).

Or do you mean the declaration order ?

int* ptr; (right to left)

ptr = ^Integer /ref int ptr (left to right)



Yes, it is probably the declaration order which confuses me.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: