Y
Hacker News
new
|
ask
|
show
|
jobs
by
lambdaba
1692 days 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.
1 comments
snicker7
1692 days ago
Well. Code should be optimized first for correctness, and simple string concatenation will not work for URL params.
link
odonnellryan
1692 days ago
It'll certainly work, just seems sloppy.
link
bennyg
1692 days ago
Plenty 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.
link