Tagged Questions
The code tag has no wiki summary.
7
votes
10answers
2k views
About empty line of code
Why do my colleagues hate it when I add an empty line of code?
Sometimes I add a few lines to see when a method ends and another one starts more easily.
0
votes
2answers
37 views
Use Google Analytics to track visitor/download stats for a Google Code Project?
Can you use Google Analytics to track visitors/downloaders for a Google Code project?
I've searched google for an answer but I get results about Google Analytics as a Google Code project itself and ...
-1
votes
0answers
46 views
Code review visualizer plug-in / tool for VS2010 [closed]
Is there any code review tool for Visual Studio 2008 / 2010 similar to this one:
http://www.redmine.org/boards/3/topics/5878
but with lesser features. I.E. I want to be able to:
add comments over ...
-3
votes
0answers
68 views
C++ files, functions, cases? [closed]
Could you help me with a problem for database? All day looking around the forums, but like my problem, actually much more complex code than half understand it. I have some ideas on how to build, but I ...
4
votes
4answers
294 views
Is coding and unit testing violating the DRY principle
The dry principle states:
"Every piece of knowledge must have a single, unambiguous,
authoritative representation within a system."
However when writing tests for code you are describing the ...
4
votes
1answer
180 views
Redundant code ok?
Using C#/.Net, I have a page where the user can enter data and save these data by clicking a button.
To save data, the user needs to enter a valid date, this means a date which has a certain format.
...
0
votes
1answer
63 views
Torn between code and design. Which should I choose? [closed]
I feel so torn. I want to be one of those cool hard core software engineers but I also have this passion for the arts. I can design and code. Well, there is no problem in that, really. It's just that, ...
9
votes
3answers
195 views
When would be the best time to start porting the code of my own project?
If I have a personal programming project that I plan to port in another language so it could run in other environments, would it be more ideal to start porting the code as soon as possible and work on ...
6
votes
7answers
343 views
How to cope with the problem of (compiling) a large code base?
Although I can code, I don't yet have any experience with working on large projects. What I did so far was either coding small programs that get compiled in matter of seconds (various c/c++ exercises ...
2
votes
6answers
206 views
Secure cloud based code storage and syncing across multiple computers
I've been thinking recently about how and where I keep my code - I work across multiple locations, with at least three different computers and I'm considering how I manage my code across these ...
3
votes
4answers
194 views
What are the benefits of using comments
I just accepted a new job. Our application is in the 50,000 lines of code area. None of which is commented. I am finding it difficult to understand how the application works. Id like to prevent this ...
42
votes
11answers
2k views
*Code owner* system: is it an efficient way?
There is a new developer in our team. An agile methodology is in use at our company. But the developer has another experience: he considers that particular parts of the code must be assigned to ...
2
votes
2answers
135 views
How do you change how intellij auto formats code?
IntelliJ does some odd formatting with Javascript code and I am trying to figure out how to get it to stop formatting this way. Whenever I chain jQuery functions together, it over indents the auto ...
7
votes
6answers
358 views
“Anything can go wrong will go wrong” - Murphy's Law. so is it necessary to test all the conditional, exception cases?
If "Anything can go wrong will go wrong" is true, we need to test all the conditionals and exceptional cases in my code.
But sometimes it's hard to find all of them since many of them are corner ...
4
votes
3answers
118 views
How do you find your way in deeply nested, interfacey code?
I know most people hate flat and long functions, and hate when code is not full of ISomethings.
The problem is that I guess my mind works in different way, and I always have problems with that type ...