How to write an object oriented program that doesn’t suck
How to write an object oriented program that doesn’t suck Most of our codes [sic] are not perfect in many ways and it will take ages to list all the possible flaws. However, I will list some of the most common and frequent mistakes and give some suggestions to fix them.
Read Full Post | Make a Comment ( Comments Off on How to write an object oriented program that doesn’t suck )Oh shit, git!
Oh shit, git! Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation has this chicken and egg problem where you can’t search for how to get yourself out of a mess, unless you already know the name of the thing you need to know […]
Read Full Post | Make a Comment ( Comments Off on Oh shit, git! )Recovering commits with Git
Recovering commits with Git Today I did not handle [my commits] with care and commits seemed to be lost. Luckily I found that Git does not delete commits. My lost commits were just not referenced by any branch or tag, but were ‘dangling’. The problem is finding these commits back. Similar content to MJD’s recent […]
Read Full Post | Make a Comment ( Comments Off on Recovering commits with Git )How to undo (almost) anything with Git
How to undo (almost) anything with Git One of the most useful features of any version control system is the ability to “undo” your mistakes. In Git, “undo” can mean many slightly different things. When you make a new commit, Git stores a snapshot of your repository at that specific moment in time; later, you […]
Read Full Post | Make a Comment ( Comments Off on How to undo (almost) anything with Git )