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 did you master a programming language?

5 pointsby Kaladinabout 5 years ago
What would you suggest to a newbie getting his feet weight into programming?

4 comments

simonblackabout 5 years ago
Give yourself a non-trivial project. It doesn&#x27;t really matter what it is, you&#x27;ll be &#x27;building it to throw away&#x27; anyway.<p>Now start building it, with one hand on a good reference, and the other hand on the Google search page.<p>It&#x27;ll be terrible code, but you&#x27;ll be learning as you go. By the time you&#x27;ve built that program to your satisfaction, you&#x27;ll have learned a lot.<p>So much so, that you will <i>want</i> to throw that first piece of crap programming away and to rewrite it properly.
juaniuxabout 5 years ago
If you want something practical that you can get a job with I highly suggest Fee Code Camp they offer various certifications including JavaScript programming language: <a href="https:&#x2F;&#x2F;www.freecodecamp.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.freecodecamp.org&#x2F;</a><p>If you just want to learn programming I suggest Python as a starting language, there are ton&#x27;s of resources and YouTube videos on the subject. Just look for a tutorial that works for you and start there.<p>Biggest point, don&#x27;t just read about it, type our the examples, run them. Code here, code there, code in your sleep, the only way you&#x27;ll learn is by doing. Specially by running into problems.<p>I have 20+ yrs of dev experience and I still have my google page up to lookup errors, examples, and references.
carapaceabout 5 years ago
Those are two different questions.<p>&gt; What would you suggest to a newbie getting his feet weight into programming?<p>Learn assembly.<p>(Something tidy like the AVR chip used in Arduinos: ATMega328P microcontroller, or the PIC.)<p>Then learn a little about C <i>and the asm that it compiles into</i>. (Again, don&#x27;t try to learn e.g. x86. It&#x27;s a monster. Most C compilers can target AVR or PIC.)<p>If you start at the bottom and go <i>up</i> you&#x27;ll do fine.<p>Do NOT start with e.g. Javascript or PHP or even Ruby or Python, it&#x27;ll wreck you.<p>&gt; How did you master a programming language?<p>Someone once said to Yoyo Ma, &quot;I&#x27;d give my life to play like you do.&quot; To which he replied, &quot;I did.&quot;<p>&quot;Do it every day.&quot;
simonblackabout 5 years ago
For the &#x27;feet wet&#x27; question:<p>Some people have suggested assembly. That would be a good idea if we were still back in the simpler, less complex, 8-bit era of the Z80 or 6502 CPUs.<p>In today&#x27;s world, I&#x27;d go for the &quot;high-level assembly language&quot; or in proper terminology, the C programming language.<p>To learn that, I&#x27;d buy the book of the same name: &quot;The C Programming Language&quot; by Kernighan and Ritchie.<p>Then follow the procedure laid out in my other comment.