3 ms·
I find this article weird. Aping Sinatra is not an innovation. Java reflection is essentially zero cost after the JIt runs. The idea of "this is what you typ
by social_ism 3y ago
I find this article weird. Aping Sinatra is not an innovation. Java reflection is essentially zero cost after the JIt runs.
The idea of "this is what you type" to make a REST endpoint or client call is a non-starter and non-issue.
This code in any shop worth its salt has been generate for years off of metadata.
If you are typing in rest code into any language, you are holding it wrong.
- re-thc 3y ago> Java reflection is essentially zero cost after the JIt runs. It is slower and it is cached so uses more memory.
- fsdjkflsjfsoij 3y agoIn Spring apps the same reflection caches are also often duplicated many times.
- hamandcheese 3y agoAll of the harm from reflection happens well before runtime.