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

Not to pick on you two: but a feature that implements the same concept modulo changes to the source code like friend declarations (first example) or naming (second) is the very definition of a merely syntactic difference. Rust represents the same stuff, it just does it in funny ways. That was my point.


Yes, I avoided the “semantic” question as it seems very slippery, it could easily devolve to “Rust is turing complete so it is just the same as any other language”.

Out of interest, do you have any examples that you would consider semantically different, while still being appropriate for day-to-day programming?




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

Search: