All Questions
3 questions
10
votes
4
answers
5k
views
Should you ever use private on fields and methods in C#?
I am somewhat new to C# and just found out that: in C# all of the fields and methods in a class are default private. Meaning that this:
class MyClass
{
string myString
}
is the same as:
class ...
31
votes
10
answers
6k
views
Simple vs Complex (but performance efficient) solution - which one to choose and when?
I have been programming for a couple of years and have often found myself at a dilemma.
There are two solutions -
one is simple one i.e. simple approach, easier to understand and maintain. It ...
15
votes
9
answers
2k
views
Should a programmer take writing lessons to enhance code expressiveness?
Given that programmers are authors and write code to express abstract thoughts and concepts, and good code should be read by other programmers without difficulties and misunderstandings, should a ...