News for hackers. Stuff that matters.
Re:Error handling in Upspin by junke on Thursday December 07, 2017 @09:55AM (#15870442)
So if it is a string and contains "/", it is categorized as a path?

https://upspin.googlesource.com/upspin/+/master/errors/error...

User names can contain slashes apparently:

https://godoc.org/upspin.io/user#Parse

Re:Error handling in Upspin by andreareina on Thursday December 07, 2017 @10:26AM (#15870815)
Yeah, that part seems fragile. Which is why I'm against magic do-what-I-mean logic unless there's only one reasonable way to make semantic sense of it. And preferably only one way to do so, reasonable or unreasonable.