much (453)


language agnostic - Do you use design patterns?

language agnostic - Do you use design patterns?

What's the penetration of design patterns in the real world? Do you use them in your day to day job-discussing how and where to apply them with your coworkers-or do they remain more of an academi…


XNA Unit Testing

So I'm interested in hearing different thoughts about what is the best way to go about unit testing XNA Game/Applications. Astute googlers can probably figure out why I'm asking, but I didn't want t…


How popular is pair programming?

How popular in the world(I know that the stackoverflow community comes from different parts of the world) is pair programming? Have you ever worked, are you working or will you work for a company t…


com - What does COINIT_SPEED_OVER_MEMORY do?

When calling CoInitializeEx, you can specify the following values for dwCoInit: typedef enum tagCOINIT{COINIT_MULTITHREADED=0x0, COINIT_APARTMENTTHREADED=0x2, COINIT_DISABLE_OLE…


Advice on handling large data volumes

So I have a "large" number of "very large" ASCII files of numerical data(gigabytes altogether), and my program will need to process the entirety of it sequentially at least once. Any advice on stori…


unit testing - What is a reasonable code coverage % for unit tests(and why)?

If you were to mandate a minimum percentage code-coverage for unit tests, perhaps even as a requirement for committing to a repository, what would it be? Please explain how you arrived at your answer…


Maximum lines of code permitted in a Java class?

How many lines of code can a.java file contain? Does it depend on the JVM being used?…


unit testing - How many unit tests should I write per function/method?

Do you write one test per function/method, with multiple checks in the test, or a test for each check?…


functional programming - How does Jan Willem Klop's “(L L L…)” Y combinator work?

I understand what a Y Combinator is, but I don't understand this example of a "novel" combinator, from the Wikipedia page: Yk=(L L L L L L L L L L L L L L L L L L L L L L L L L L) Where: L=…


What's the golden code/comment ratio?

Is there a code/comment ratio that you consider to be a sign of good(bad) code health? Can you give examples of open source projects that are considered to be well coded and their respective comment…





how memory too does for use usage size the can