921 reputation
617
bio website
location
age
visits member for 2 years, 11 months
seen Jan 15 at 6:38

Jan
15
comment Is it always a best practice to write a function for anything that needs to repeat twice?
Well, to continue one could say a hard-coded list is not going to appear in the middle of code and will be a variable anyway :) But right, I actually forgot that you can skip the braces there.
Jan
13
revised Is it always a best practice to write a function for anything that needs to repeat twice?
added 455 characters in body
Jan
13
answered Is it always a best practice to write a function for anything that needs to repeat twice?
Dec
1
awarded  Popular Question
Oct
17
awarded  Popular Question
Jul
14
awarded  Popular Question
Jun
5
awarded  Notable Question
Mar
3
awarded  Popular Question
Feb
10
awarded  Yearling
Oct
22
awarded  Popular Question
Jul
7
awarded  Favorite Question
Feb
10
awarded  Yearling
Nov
15
awarded  Tumbleweed
Nov
4
awarded  Popular Question
Oct
14
awarded  Nice Question
Oct
1
accepted Inheritance vs composition in this example
Oct
1
accepted Passing compound object for parameters
Oct
1
accepted Program more professionally (planning, notation, …)
Oct
1
accepted Sporadic unittests or TDD?
Oct
1
accepted Do some best practices depend on skill?