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

According to Joel[1] it was originally about distinguishing variables that had the same type but had different semantics, e.g. a window's width (dx) vs its horizontal position (x). Both ints, but not really the same kind of data.

[1] https://www.joelonsoftware.com/2005/05/11/making-wrong-code-...



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

Search: