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

As an aside to the technical conversation— I appreciate the use of cooking as an analogy in your code samples in the posted article.

It's not just because I was a chef! Using nouns, adjectives and verbs from (familiar) concrete hierarchical analogies makes technical writing much more accessible. It reduces cognitive load by implying more about the structure of the relationship than variables like "intVar" and functions like "printVar" tied together in entirely contrived, abstract ways. In particular, newer developers, or ones unfamiliar with your language paradigms will benefit heartily.

I implore my fellow developers to follow suit.



>Using nouns, adjectives and verbs from (familiar) concrete hierarchical analogies makes technical writing much more accessible.

This is a really good insight. I can remember back to my university days, a teacher used a cooking analogy to explain something that was really hard to understand- since then, the concept stuck.


Haha also I like food :-)




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: