Answer the question
In order to leave comments, you need to log in
How to name a variable, template or pattern?
Let's say we have a variable that stores a string of the following form:
"https:://example.com/index.php?<QUERY_PARAMETERS>"
. QUERY_PARAMETERS
will later be replaced by the desired value. In this case, what is the best way to name the variable? template
or pattern
and why? My intuition tells me pattern
...
Answer the question
In order to leave comments, you need to log in
this is called uri template , the pattern is also applicable, but why if there is an established name
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question