Skip to main content
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
Results tagged with
Search options not deleted user 17203

Programming Practices are the commonly or not so commonly used practices in development of software. These can include things like Agile Development, Kanban, Coding shortcuts, etc.

3 votes

Writing robust code vs. overengineering

write for reuse. write tests. trivial, nontrivial, some absurdly complex ones to see how it handles under such conditions. tests will also help you determine the form of the interface. write the prog …
justin's user avatar
  • 2,033
8 votes
Accepted

Is it bad practice to define/use "Preset" functions

It's a good thing to do when you find the code is more readable and more maintainable when wrapped using the invariant arguments. I do it often.
justin's user avatar
  • 2,033
4 votes

Which is a better practice - helper methods as instance or static?

Which do you prefer to do in your own code I prefer #1 (this->DoSomethingWithBarImpl();), unless of course the helper method does not need access to the instance's data/implementation static t_im …
justin's user avatar
  • 2,033