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

Th best code comment story was told by Joe Armstrong " Robert Virding, who developed Erlang with me, was famed for his comment. Singular. The entire stuff he wrote had one comment: in the middle of the pattern-match compiler there was a single line saying ‘and now for the tricky bit".



I want to say it was at Sun in the mid 80s, most code lacked comments but there was one idiosyncratic data structure with field names having specific prefixes - with the comment “She’s Hungarian!” (Hungarian notation, presumably - and who was “she”?)


> and who was “she”?

The structure, probably. In gendered languages objects have a grammatical gender, and "structure" is feminine in at least French, Italian, and Spanish (they all derived from Latin "structura", which is feminine). Non-native English speakers will sometime carry over a noun's gender when writing in English.




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

Search: