3 ms·
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 wr
by qaq 3y ago
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".
- notbeuller 3y agoI 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”?)
- vocx2tx 3y ago> 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.