[Quora] What is the most elegant line of code you've seen?

@Murtaza Aliakbar:html // Counting # bits set in 'v', Brian Kernighan's way for (c = 0; v; c++) v &= v - 1;@Joshua Seims: Euclid's Greatest Common Divisor algorithm (considered the oldest historica
相關文章
相關標籤/搜索