Link Details

Link 19450 thumbnail
User 216892 avatar

By ajs17
via stonemind.net
Published: Apr 20 2007 / 14:03

Recently, I was pair programming in Java with a less experienced partner when we came to a point where we needed to ensure that a collection of files was 'flattened,' containing no nested directories, in preparation for ingesting those files into a digital preservation system. I recognized it as a problem of recursion and was prepared to begin constructing a unit test for this while my partner expressed caution, and a belief that this was a difficult problem that would require much more planning to get right. It made me realize that the type of recursive processing I was envisioning could be difficult to initially wrap your mind around.
  • 11
  • 0
  • 1321
  • 197

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (11)



Voters Against This Link (0)