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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Git or Mercurial for beginning students?

4 点作者 klancaster将近 10 年前
I regularly teach Git to students at the senior level that are building RoR applications. Even though we only cover the basics, they seem to struggle quite a bit with both the concepts and the mechanics. They are on Windows for the most part, and are required to push their code to Bitbucket. The seniors have suggested that I introduce the topic much earlier in the curriculum in a sophomore level Java class. The students in that class have had one prior programming class, but generally are still struggling with the basics. I've been thinking about using Mercurial at the sophomore level instead of Git to see if that eases the introduction to the concepts. Any thoughts one way or the other?

4 条评论

dozzie将近 10 年前
I guess that they are simply not accustomed to work in command line, given that Windows gives terrible terminal and shell. I would rather expose them to Linux (or maybe BSD), possibly through providing them shell accounts on some server and requiring code to be built primarly there. Then it should not be too difficult to jump from working with files in command line to working with version control in the same command line.
评论 #9862344 未加载
评论 #9859845 未加载
评论 #9860491 未加载
senjindarashiva将近 10 年前
Last time I checked mercurial has better windows-support and tooling. And since the concepts generally is the same they should have no issue learning git later on if the need it.<p><a href="http:&#x2F;&#x2F;tortoisehg.bitbucket.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;tortoisehg.bitbucket.org&#x2F;</a>
评论 #9864461 未加载
theaccordance将近 10 年前
On whether to use Git or Mercurial, my gut suggests you teach Git, but if you have the ability, poll alumns of the program and&#x2F;or companies who are nabbing grads to see what they have&#x2F;haven&#x27;t used. Personally, I&#x27;ve never been around an environment that uses Mercurial, but that&#x27;s just my particular situation.<p>Also, the basics of version control should be taught in the very first programming class. You can then expand on the basics in further courses.
评论 #9861607 未加载
japhyr将近 10 年前
Are you talking about high school students?
评论 #9859796 未加载