Example of Surprising Closure Behavior

What do you expect to be outputted from this program (note that line 19 captures the outer variable “i”)?       1 using System;     2 using System.Collections.Generic;     3 using System.Text;     4 using System.Threading;     5      6 delegate void VoidDelegate();     7      8 class Program     9 {    10     public static void Main(string[] args)    11     {    12         List<VoidDelegate> closures = new List<VoidDelegate>();    13         //Create a […]

$170M FBI Software Failure: 730KLoc * $232.88 / line

$170,000,000 / 730,000 = $232.88. Choice “incompetent software project management” quotes: “[T]he FBI made a fateful choice: It wanted SAIC to build the new software system from scratch rather than modifying commercially available, off-the-shelf software. Later, the company would say the FBI made that decision independently; FBI officials countered that SAIC pushed them into it….” […]