TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Best programming analogies?

6 pointsby kisamotoalmost 12 years ago
Sometimes I struggle to understand aspects of a language or even programming principals and, whilst there are lots of great answers on Stack Overflow (and throughout the web), I find the best ones that help me understand are the analogies used.<p>Here are some that I have found most useful:<p>* Understanding (C++) pointers with a hotel room, a keycard, a book and a broken contract. - http:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;6445794&#x2F;1401034<p>* Branch prediction using a railway junction. - http:&#x2F;&#x2F;stackoverflow.com&#x2F;a&#x2F;11227902&#x2F;1401034<p>* [Im]mutable objects in Python with pretty ASCII drawings. - http:&#x2F;&#x2F;mail.python.org&#x2F;pipermail&#x2F;tutor&#x2F;2001-February&#x2F;003787.html<p>What are your favorite analogies?

no comments

no comments