Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This. Code should be optimized for reading, I think this kind of code is OK for exploratory stuff, but needs to be rewritten later.


Well. Code should be optimized first for correctness, and simple string concatenation will not work for URL params.


It'll certainly work, just seems sloppy.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: