All Questions
Tagged with coding coding-style
8 questions
0
votes
1
answer
83
views
Practical Advice for rapidly changing code maintainability [closed]
This question may get closed quickly, but I'll appreciate any advice I can get and all the resources I can find online about this topic aren't quite relevant to my case.
I am a Math PhD student doing ...
4
votes
7
answers
1k
views
How do you know where you stopped in your codes after a 2-week break? [closed]
I just had a more than 2-week long vacation/business trip and I couldn't remember actually what was I working in my coding and where I stopped. Could someone recommend a best practice to solve this?
1
vote
1
answer
991
views
Coding guidlines for Controller and Dao?
My Controller code:
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
ObjectReader objectReader = objectMapper.reader(...
0
votes
3
answers
1k
views
Eliminate duplicate code in nested IFs without creating a function [duplicate]
Let's say we have two ifs that depend on each other:
if var exists {
if var is array {
//Do stuff with var
} else {
//Resolve the problem
}
} else {
//Resolve the ...
4
votes
4
answers
385
views
Improve coding quality
I have been dealing with programming for several years now (I am still a student but with a lot of internships). Mostly working with C++, Python and MATLAB, I noticed that whenever I download an SDK ...
60
votes
18
answers
31k
views
Working on someone else's code [closed]
I have hardly a year's experience in coding. After I started working, most of the time I would be working on someone else's code, either adding new features over the existing ones or modifying the ...
0
votes
2
answers
1k
views
"positively formulated" vs. "reads as english sentence" style logic [duplicate]
Sorry, I'd be happy to have someone improve the title of this question.
What are the benefits and downsides of "positively formulated" logic vs. having it "english readable". I'm looking for a ...
10
votes
8
answers
699
views
What about all those coding rules?
I always supported the idea of having coding rules for developers in a company or a specific project. Especially if the company is size greater than 10. The bigger the company the bigger the need. I ...