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: What's a mnemonic or concept that's helped your engineering career?

4 pointsby officiallywiseover 1 year ago
What are some mental models, mnemonic or memory tricks that you&#x27;ve developed to help you through your software engineering career&#x2F;journey? I&#x27;ll start first:<p>When I&#x27;m working in javaScript and trying to figure out whether to use `for...in` vs `for...of` I think about this trick I found and modified (https:&#x2F;&#x2F;maximorlov.com&#x2F;forof-vs-forin-memory-trick). The author uses UFOs (unidentified flying objects) but I use foreign objects for mine. If I&#x27;m looping over objects, I say they are foreign objects so I grab the `for...in` loop for objects. That means the only thing left is `for...of` for arrays.<p>This other one is less of a mnemonic and more of a concept that was like an &quot;ah-ha&quot; moment in my software engineering career. (I can&#x27;t remember if I came up with it or read&#x2F;heard it somewhere so I apologize for not being able to give credit if credit is due.) A large percentage of apps that we create as software engineers are mostly glorified forms and&#x2F;or spreadsheet. You are submitting some data to a database. We are then outputting that data in some UI. That means everything we do - from design all the way to DevOps - is to support or &quot;dress up&quot; a form and&#x2F;or a spreadsheet of data. It helped make things a little less daunting for me.<p>Curious what other&#x27;s may have conjured up.

2 comments

atomicnatureover 1 year ago
The &quot;ABC Principle&quot;. Always Analyse (A) the problem first, only then start Building (B). Finally, don&#x27;t move onto the next thing until you have Checked (C) that whatever you&#x27;ve built matches up with your analysis.<p>Applies to more than engineering as well.
syndicatedjellyover 1 year ago
Interfaces are like Legos<p>The concept of a n-dimensional “room” helps inform how much testing is “enough”<p>Everything in software is an abstraction for another concept
评论 #37441496 未加载