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 steps do you take in learning a new programming language?

4 pointsby alltakendamnedalmost 6 years ago
What process do you follow to acquire and start using a new programming language?<p>What exercises do you go through, or what experiments or programs do you implement ?

3 comments

Havocalmost 6 years ago
[Amateur hour alert]<p>I spend some time thinking about which version. Not a language, but recently - tensorflow. v1 has epic documentation but is about to die, v2 has no documentation but is the future. Made a conscious choice to accept pain &amp; suffering by struggling with (temp) lack of support.<p>Any type of new tech - I usually start by spinning up a Ubuntu VM.<p>...because I&#x27;ve realised something always goes horribly wrong on first attempt &amp; I&#x27;ll need to sh!tcan the VM.<p>And second I like to try to push all the tech to latest beta (but not alpha&#x2F;nightly). Not because I need the latest but because it lets me touch base with where the current community pain points&#x2F;issues&#x2F;thinking is. Emphasis on <i>try</i>. Noob attempting to roll with a beta of a tech he&#x2F;she doesn&#x27;t know is a very conscious &amp; deliberate reach.<p>&gt;What exercises do you go through<p>On the actual programming side - I make a bee line for the debugging equivalent of &quot;print&quot;. It&#x27;s all a black box to me until I can pipe output to something.<p>&gt;programs do you implement<p>I find the classic example that is simple yet not hello world and dissect that. e.g. for ML the classic MNIST set. The code to get that to 90%+ accuracy is like 10 lines...you can dissect the hell out of that for understanding
wglbalmost 6 years ago
First, I get the tools installed. Then, I follow an introductory tutorial, paying particular attention to the concepts that I am least familiar with, and doing any exercises that are part of the tutorial. I then pick an example of a problem that I know, such as parsing a log file, writing a lisp interpreter, a simple web server, maybe a problem or two from the Euler site.<p>Picking a good tutorial can help a lot. For Python, I have both the introduction and the recipes book.<p>Also, I try to read a lot of code from github.
rurbanalmost 6 years ago
First I read all the documentation.<p>Then I read the source code.<p>Then I check some tutorials.<p>Then I try it out with simple examples, nothing fancy.