4 ms·
This. Code should be optimized for reading, I think this kind of code is OK for exploratory stuff, but needs to be rewritten later.
by lambdaba 5y ago
This. Code should be optimized for reading, I think this kind of code is OK for exploratory stuff, but needs to be rewritten later.
- snicker7 5y agoWell. Code should be optimized first for correctness, and simple string concatenation will not work for URL params.
- odonnellryan 5y agoIt'll certainly work, just seems sloppy.
- bennyg 5y agoPlenty of edge cases there (e.g. url encoding), but I don't want to preach to the choir and rabbit hole on this minor detail.