Skip to content

Params Request: get per name #236

Answered by ghost
jesusvilla asked this question in Q&A
Dec 1, 2019 · 5 comments · 8 replies
Discussion options

You must be logged in to vote

I have considered it. Lookup by index is free, lookup by name requires building some kind of hash map or linearly searching the URL multiple times. It is really not that complex to write

let kind = req.getParameter(0) and then use kind as type safe variable. That mapping is free.

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@jesusvilla
Comment options

@yamiteru
Comment options

@jesusvilla
Comment options

@yamiteru
Comment options

@jesusvilla
Comment options

Answer selected
Comment options

You must be logged in to vote
1 reply
@yamiteru
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #236 on December 09, 2020 12:06.