3 ms·
When digging into new projects I always find that there's going to be cognitive overhead because of certain abstractions. let always_forward = Route::ranke
by iopq 10y ago
When digging into new projects I always find that there's going to be cognitive overhead because of certain abstractions.
let always_forward = Route::ranked(1, Get, "/", forward);
this is a normal function call, but what does it mean? Is that really better than special syntax that desugars to this code?
- amelius 10y agoYes, because function calls are much easier to trace down than special syntax.