Questions tagged [self-documenting-code]

16 questions
-1
votes
2 answers

PHP: Using array keys to identify function arguments

I user-define many functions and a few of them have six, ten, or even more arguments. Reading my code gets difficult when I forget what the arguments of a function are, or what order they go in. I've devised a way to deal with this, replacing all…
NewSites
  • 1,402
  • 2
  • 11
  • 26
1
2