TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Learning your Nth programming language?

18 点作者 n8ta大约 1 年前
What resources do you use to learn the details of using a new language when you are competent in many other languages? Not the basics like class hierarchy, syntax, and loops, but more language unique stuff. Eg:<p>- Compilation model: bytecode&#x2F;native&#x2F;whatever<p>- Are there multiple implementations which are most used and why?<p>- Package management and versioning<p>- Common build tools<p>- Concurrency&#x2F;io model (async, os threads, green threads, etc)<p>- Language-specific&#x2F;more-common data structures<p>- Sources of UB to aware of<p>All the &quot;Java for experienced developers&quot; pages I find start by teaching me HelloWorld, move on to declaring variables, loops.... and never get to anything interesting.

7 条评论

Jtsummers大约 1 年前
Jump into more advanced books&#x2F;courses (if those work for you). Not &quot;Java for Experienced Developers&quot; but more like (switching to Go since I ran through this one a few years ago and recall liking it) &quot;Concurrency in Go&quot;. It doesn&#x27;t provide (or I glossed over) an introduction to Go, it assumes Go knowledge. It does not provide an introduction to programming, it assumes programming knowledge. It dives into its topic and demonstrates how to write concurrent programs in Go, which is the interesting part about using Go. Since I was rusty on Go I recall digging into Go by Example and a couple other things to fill in my knowledge gaps about the language and tooling themselves that the book didn&#x27;t cover.<p>Whatever language you want to learn, that&#x27;s the kind of resource you need. Whatever courses, videos, and books are targeting the intermediate to advanced users of the language.
sandreas大约 1 年前
Usually, I start with the official docs. Most of the time they are starting with the basics, but non-video content can be skipped very easily.<p>Then it is always a good idea to read open source code. Look for not too big projects leading in the open source community. You can use trending github repositories[1] to find some interesting modern projects. Set the filter to the language of your choice. Looking through the pull requests and issues can be enlightening.<p>Books (even if they tend to be outdated pretty fast) are a reliable source of knowledge, because they contain reviewed and thought through knowledge, if they are good.<p>The last step could be watching either professional youtube tutorials about specific topics or even live coding.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;trending">https:&#x2F;&#x2F;github.com&#x2F;trending</a>
SushiHippie大约 1 年前
Most often I just start using the language without reading&#x2F;watching tutorials.<p>And I often contribute to open source projects which I use, that use a language I&#x27;ve never used, and it worked quite well so far.<p>a) you can take a look what tooling they use<p>b) by looking at the existing code and trying to find the bug I often find interesting things that may be helpful for my contribution<p>c) most open source maintainers give reviews and may aid you with some parts of your code, and are often quite helpful when you are puzzled by their build steps or CI pipeline<p>Otherwise you could just go on GitHub and filter the top stared repositories that use the language and take a gander at their tooling and their code<p>And some languages like rust have good documentation for the tooling, common libraries used, and tutorials that are more advanced than crrating a hello world
__rito__大约 1 年前
It takes me some days to a week or two to learn the syntax. I do that from a book or YT playlist. And I do it really fast, because, I know, if I forget something, I am just a Google search away from an answer.<p>About the more advanced parts, I rely on search engines and advanced books. I get deep into the documentations, some blog posts, some SO page, etc. And I don&#x27;t do these pre-emptively. I do these when the need arises.<p>Unless I am scouting for a language that other will also work on, I follow this approach.
评论 #39558318 未加载
dack大约 1 年前
Seriously, just ask ChatGPT and tell it you are an experienced developer and don&#x27;t need to be told the basics. It can then give you a helpful overview and get you oriented. then you can read code, docs or other detailed sources to deepen your knowledge (and make sure the LLM didn&#x27;t make something up)
ktpsns大约 1 年前
I frequently read over virtually all of the docs of a language to grasp the ideas the authors had. Understanding a language theoretically is more of interest for me then tinkering around with it.
jonahbenton大约 1 年前
Did you talk to any LLMs about it? Java is a huge ecosystem with more nuanced and complex answers to the above questions than any other language ecosystem. It is best suited to be ingested via dialogue.