15 Mar
2016
15 Mar
'16
3:19 a.m.
On 15/03/2016 15:58, Rodrigo Madera wrote:
However, on the technical side, I'm more on the idea that everything that can be done at compile time, should be done at compile time. Handlers, even routes, should be handled in compile time. [1]. This is C++, after all.
While compile time should be the preferred option, it still must be possible to modify routes (and other things) at runtime as well (even if that requires adding a "dynamic_route" rule at compile time or similar). The majority of cases will work fine with static routes, but dynamic ones are sometimes needed too, and can't be ignored.