Hacker News new | past | comments | ask | show | jobs | submit login

Most compilers interprets variables name as opaque identifiers without semantic meaning. Does that mean I should not have rules to name variables?

The way I interpreted the quote is: Don't parse the URI in your program to try to gain information about a resource other than it's ID. It doesn't mean you can't put information in there to make it easier for human developers to understand.

In other words, pretty names are for humans, not machines.




And in a 'true' REST API the pretty name for humans should be in the link text, not the href




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

Search: