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: How do you memorize syntax and common API for a new language?

2 pointsby jehlakjabout 7 years ago
I&#x27;m sure a lot of people here will recommend doing a lot of side projects, but is there a more boring yet effective way? Similar to flash cards instead of writing for vocabulary. The biggest contextual block from coding with an unfamiliar language is the syntax and basic API.<p>If I could draw an analogy, it would be trying to learn a language in a foreign country without any fundamental understanding. I find it much easier to absorb new materials when I have a basic set of common phrases memorized beforehand.

2 comments

chipuniabout 7 years ago
For the past seven years, whenever I learn something new, I put it into my set of Anki (<a href="https:&#x2F;&#x2F;apps.ankiweb.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;apps.ankiweb.net&#x2F;</a>) cards. Details tied to a job are tied to that particular job; when I leave, I delete those cards. Almost everything else stays.<p>Anki may have been designed for learning languages, but it&#x27;s a great system for learning anything.
amiroucheabout 7 years ago
I know sexp; I don&#x27;t need to learn new syntax. I only need to learn new API.