Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The term "clean code" is used to describe computer programming code that is concise, easy to understand, and expresses the programmer's intent clearly. Questions with this tag relate to the process of writing clean code, or refactoring old "dirty" code to be clean code.
1
vote
Should "add" methods return the update object? [Java - Clean Code & Best practices]
One additional thought:
If you want to use your array of ingredients at multiple places, the classical arrCopy = arrOriginal does not COPY the array (at least in most coding languages) but just copies …
1
vote
Should you create your own Interface for all (most/many) Api Calls? (Adapter)
Having your own interface, has multiple advantages in my eyes.
For one, it helps you to focus on your needs. This makes then the discussion with the other side easier.
Also, you do not have to use the …
5
votes
Accepted
Versioning a function/method
As far as i understood, you plan to replace the old function completly by the new one in the long run.
Personaly i would avoid "versioning" in the names. The reason is that if i allow a addContacts_V2 …
0
votes
Should we create a new function for every multiple conditions?
As always with coding it depends on the context and on your personal likeing.
I do not like if / else and try to avoid it if possible.
The reason is, that an if/else feels like ONE statement and my mi …
1
vote
Accepted
Angular: send form or object?
I expect from your question that its about having one entity model (that is used from the UI (Angular Component HTML) down through the Business logic, to the Data Access layer where its send in the sa …