News for hackers. Stuff that matters.
Re:What Could I Possibly Learn From a Mentor Half My Age by lmm on Monday September 12, 2016 @11:20AM (#12480458)
Fancy git is still useful on personal projects - if anything it's more so, e.g. you can rewrite history without worrying about other people using it. I think a lot of people who remember a time when committing was expensive are stuck in that mentality, whereas if you commit every 5 minutes you'll naturally end up using the more advanced features to organize your work.
Re:What Could I Possibly Learn From a Mentor Half My Age by jcadam on Monday September 12, 2016 @11:34AM (#12480589)
I'm getting better about committing more often (unlike back in the days of SVN/ClearCase/etc.), but I'm still not quite up to committing several times a day like these kids are wont to do :)
Re:What Could I Possibly Learn From a Mentor Half My Age by kwhitefoot on Monday September 12, 2016 @02:39PM (#12482448)
I don't use git at work, we use TFS instead. I commit to the build server as soon as I have something that is a complete step in the process of developing a feature or fixing a bug especially if that step carries a risk of breaking something.

The build server then builds the whole application and runs the unit tests. I might do this once a day if I'm mostly thinking rather than furiously typing or ten times a day if it is all flowing perfectly.

It's not just the kids who do this, I'll be 61 in a couple of months. On the other hand one of my colleagues who really is half my age prefers to complete the feature and only commit to the build server once the whole feature is complete. He uses TFS shelvesets to make sure he won't lose anything.

Re:What Could I Possibly Learn From a Mentor Half My Age by shostack on Monday September 12, 2016 @02:00PM (#12482050)
I wonder if there is any correlation between commit frequency and a person's tweet or FB post frequency. Are people more active on social networks more likely to carry that over and commit more often?
Re:What Could I Possibly Learn From a Mentor Half My Age by aninhumer on Tuesday September 13, 2016 @12:41AM (#12485673)
Well I commit relatively frequently and post on twitter/facebook approximately never, so make of that what you will.

More generally I don't see the connection? I'm not making commits to show off my cool code to my colleagues. I'm making commits in case I want to revert specific changes later.

I learn to commit more frequently every time I realise I need to undo something manually because my history is insufficiently granular.

Re:What Could I Possibly Learn From a Mentor Half My Age by lmm on Tuesday September 13, 2016 @06:27AM (#12486813)
For me if anything it's the opposite. I blog rarely, because I spend a while thinking over my posts and getting them right. (That said, I commit frequently even there, because I maintain my blog in git).
Re:What Could I Possibly Learn From a Mentor Half My Age by wott on Monday September 12, 2016 @02:38PM (#12482430)
It's funny you mention that, because I have developed the same feeling, although I have no idea if it holds true or not.