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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How to quickly switch to a programming lang that you won't code often?

2 点作者 mohanmca超过 6 年前
Need suggestion from polyglot programmers, How do you quickly switch to a programming language that you won&#x27;t code often?<p>I sometimes need to switch to few programming languages that I feel not proficient, But at times should do something with that like execute as a script, evaluate interview, manage&#x2F;refer others code, find the treasure hidden in large code-base. For example, groovy, python, pl&#x2F;sql, c# or typescript.<p>Do you have any tested technique to quickly recollect the entire language? hope few others would be in my situation!<p><i>Do you have any technique to come up to speed?</i>

2 条评论

detaro超过 6 年前
Having a certain level of familiarity with it helps: functions and some level of syntax are easy to look up if you forgot them, but the &quot;how it works&quot; should be deep enough in your brain that it comes back once you look at code. The more languages you know, the easier it is to link knowledge to other examples and remember it better.<p>This is the one thing I find &quot;cheat sheet&quot; summaries of languages helpful for: really quickly refresh memory of syntax and&#x2F;or common pitfalls. Along the same lines, quick access to documentation. Don&#x27;t hesitate to write down your own if you trip over things repeatedly.<p>Have an execution environment ready since you can&#x27;t as reliably reason about code. For many languages a REPL is a good start, a nice IDE with debugger helps too.
wdiamond超过 6 年前
The easier you learn the wastefull it is. I mean, brainfuck language can be more usefull than another c style programming language. stick to meanings not syntaxes.