Closed zenangst closed 8 years ago
@zenangst Don't like $
sign, it's post-php syndrome :smile: I'm Ok with profile:{user}
or profile:<user>
@vadymmarkov :grin:
The thing is, I kinda only want one delimiter, but I guess its fine as it is :sunglasses:
@RamonGilabert what do you think?
One of the ways in python is: % (user, age)
, another way (inside a string) is %(user)s %(age)d
. What about:
profile: user, age, stuff
.
Use the space as a separator?
@RamonGilabert :snake:
Then profile:#{user}
, Ruby way.
@RamonGilabert @vadymmarkov
Just gonna close this :grin:
I've been playing around with the idea to change the syntax for arguments in the routes; instead of using
{}
, you could use the dollar sign as a prefix delimiter to determine if it's a argument or not.So this would mean that the route would look like;
profile:$user
instead ofprofile:{user}
.What do you think?