Blog‎ > ‎

A Couple of Halal Software Engineering Books

posted Jul 23, 2019, 1:33 AM by MUHAMMAD MUN`IM AHMAD ZABIDI   [ updated Aug 10, 2019, 7:31 AM ]
Both are all free PDFs.

  • Wikibooks, Introduction to Software Engineering (link)
  • Ivan Marsic, Software Engineering (link)
And while I was not really looking, found this code.

// Use Euclid's algorithm to calculate the GCD.
// See en.wikipedia.org/wiki/Euclidean_algorithm.
private long GCD(long a, long b)
{
  a = Math.Abs(a);
  b = Math.Abs(b);
  for (; ; )
  {
    long remainder = a % b;
    if (remainder == 0) return b;
    a = b;
    b = remainder;
  }
}


Comments