Home » work » software development » webdev sanity

webdev sanity

While reading “Making Wrong Code Look Wrong” by Joel Spolski I’ve encountered some phrase I could use when cooperating with some strange webdevs from nearby country:

“Most web applications are developed under the principle that all strings internally are not encoded until the very last moment before they are sent to an HTML page, and that’s probably the right architecture.”

Nice way to explain those guys that keeping user-entered search keyword URL-encoded in state object and URL-decode it to trigger searches, instead of URL-encoding it when pasting to URLs containing this keyword as parameter, is not really sane.
As usual, saying this myself had no real effect. A citation of authoritative source would’ve work better. Too late now though.

Still if you’re reading this and you recognize yourself you should keep Joel’s point in mind for the future – for sanity’s sake.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s