The code-analysis tag has no wiki summary.
31
votes
10answers
11k views
Is catching general exceptions really a bad thing?
I typically agree with most code analysis warnings, and I try to adhere to them. However, I'm having a harder time with this one:
CA1031: Do not catch general exception types
I understand the ...
40
votes
16answers
2k views
How do I deal with analysis paralysis?
Very frequently, I am stuck when choosing the best design decision. Even for small details, such as function definitions, control flow, and variable names, I spend unusually long periods perusing the ...
32
votes
11answers
5k views
Is it okay to make coding style changes on an open source project that doesn't follow best practices?
Recently, I came across a number of open source Ruby (or majority of it was Ruby) projects on GitHub that when checked with a code analyzing tool like Rubocop, create a lot of offenses.
Now, most of ...
19
votes
5answers
11k views
Why would anyone invest time in Microsoft “Roslyn”?
I have just been reading through some of the white papers & examples from Microsoft "Roslyn" and the concept seems very interesting. From what I can tell, it opens up the black box that is the ...
12
votes
5answers
588 views
Programmaticaly finding the Landau notation (Big O or Theta notation) of an algorithm?
I'm used to search for the Landau (Big O, Theta...) notation of my algorithms by hand to make sure they are as optimized as they can be, but when the functions are getting really big and complex, it's ...
5
votes
0answers
238 views
What to do when tackling an unfamiliar Code base? [duplicate]
Possible Duplicate:
How do you dive into large code bases?
When you join a pre-existing project that has a large code base, what are some of the things you do to get acclimatized quickly ...
-1
votes
1answer
73 views
Understanding the solution of exercise 1.16 of K&R as given in the “The C Answer book”
The exercise 1.16 in K&R's book asks,
Revise the main routine of the longest-line program so it will correctly print the
length of arbitrary long input lines, and as much as possible of ...