335 reputation
16
bio website
location
age
visits member for 3 years, 5 months
seen Dec 19 at 9:06

Dec
30
comment How to understand and debug legacy software?
Have you read Michael Feathers' Working Effectively With Legacy Code? It's specifically a TDD approach to big balls of Java and C++ mud like your legacy application. I didn't find the book all that useful myself, but that was because I had to deal with a monster C program that had to stay in C.
Sep
30
awarded  Critic
Jul
31
comment How have languages influenced CPU design?
1. The Z-80 was designed in 1975, when Unix and C were an obscure operating system and language on a few computers, 3 years before the first edition of K&R. 2. There's nothing about Pascal that mandates the string length be "in a header." 3. Strings in CP/M, the major microcomputer OS at the time, were terminated with the '$' character, not '\0'. CPIR could search for any character. 4. CPIR is matched with CPDR (search backwards), as well as other -IR and -DR instructions. Conclusion: CPIR has nothing to do with the C programming language. It's just a byte search instruction.
Jul
26
awarded  Yearling
Jun
20
comment Why are so many languages passed by value?
+1 for "Later languages copied C, mostly because the designers had never seen anything else." Every time I see a new language with 0-prefixed octal constants I die a little inside.
Jun
8
awarded  Caucus
Aug
6
awarded  Citizen Patrol
Jul
27
awarded  Supporter
Jul
26
awarded  Nice Answer
Jul
26
awarded  Teacher
Jul
26
answered What is each time through a loop called?