Steven Vachon

Pretty Query String Booleans

0 comments

Beautifying parts of your work is never a bad idea. I just wish that I could remember where I got this idea because it really is a neat one.

Basically, instead of having a URL with a query string like:

?var=1
?var=true

… the idea is for it to look like:

?var=✓

I think it’s pretty.



Comments

Top

Leave a Reply

Comments welcome! Name & email required; email always kept private. Please use basic markup. Wrap code with <code> tags.