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: Git or Mercurial for beginning students?

4 pointsby klancasteralmost 10 years ago
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 comments

dozziealmost 10 years ago
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 未加载
senjindarashivaalmost 10 years ago
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 未加载
theaccordancealmost 10 years ago
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 未加载
japhyralmost 10 years ago
Are you talking about high school students?
评论 #9859796 未加载