|
|
|
|
|
by steveklabnik
500 days ago
|
|
> the main point was that "give me a constant value" should be at the usage site, not at the function definition. The issue is, not everything can be done at compile time, and so “I can use this at compile time” becomes part of the signature because you want to ensure that it will continue to be able to be used that way. Without it, changes in your function could easily break your callers. |
|