Hacker News new | ask | show | jobs
by rortian 5820 days ago
I think github makes a good crack at it

http://github.com/rortian/Retinex/blob/53a2f818ce301f4912b02...

But, you're right I was wrong to say anything about REST. I just thought it was an interest way to do a git tree explorer.

I'm sure it's not desirable to come up with a minimal character URL for this sort of thing, but I hard to see either approach as suboptimal.

1 comments

So you like slashes between unlabeled arguments instead of key=value pairs separated by semicolons? I don’t see how the slashes have any particular advantage, given that the URLs are much too long to be remembered or easily read aloud, etc., either way.
Totally depends on the context. I see no reason to have a priori preference for either. This way of doing it somehow felt counter to what feels like the trend for a lot of sites.

When I'm messing with my own site, I prefer to do key value pairs, so I can easily see what I'm messing with.

I do like having some things with a rails/route type url mapping. Tends to allow for much more simplified code.