Looking across the lines

Looking at other cultures, finding differences, can teach us about ourselves. One example from business: in the US we rate managers on results. Quarterly or annual metrics measure an employee’s value. In contrast, many Asian countries give managers years to build a strong market position. Recognizing the distinction between short-term and long-term results, we can … Read moreLooking across the lines

Data Exposure and Encapsulation

TL;DR – Scala lets you expose internal data, then later change underpinnings while maintaining the same interface. The functional Way is an open Way. Internal data is available to anyone who wishes to extract it. “But what about encapsulation??” – horrified OO programmer“We do not fear your code, for you cannot screw up our immutable … Read moreData Exposure and Encapsulation

Converting from svn to git: salvaging local branches

If some team members use git-svn locally, they might have a local working branch. When the team moves to a central git repository, that work needs to come with them. In the old git-svn repo: 1) Find the revision where the local branch of interest branched off master: git svn find-rev `git merge-base $branch master` … Read moreConverting from svn to git: salvaging local branches