Baidu File System – A distributed file system for real-time applications
31–40 of 169 posts
Re: Baidu File System – A distributed file system for real-time applications
#32https://github.com/baidu/bfs/blob/master/src/client/bfs_clie... std::string pad; if (path[path.size() - 1] != '/') { pad = "/"; } Else?
Re: Baidu File System – A distributed file system for real-time applications
#33Earlier quoted context omitted.
I imagined that. I am more like "let me tell you exactly what I want" rather than relying on behavior defined elsewhere. It would not pass review where I work.
Not to be rude, but I'm glad I don't work where you work. How would that be consistent with your own classes? "Oh no, you can't just use a 'Tree' object, you need to explicitly set that there are no leaves yet, no branches yet, no squirrels yet, etc… etc…" Do you .clear() your vectors before you use them? This sounds like newbies that do: #define TRUE (1 == 1)
Anyway the reason for which it would no pass review is that today you use one compiler, tomorrow you have to use another and then you have to review all these little details again. It's about saving money more than anything and you do that by not relying on compiler behavior.
Re: Baidu File System – A distributed file system for real-time applications
#34Re: Baidu File System – A distributed file system for real-time applications
#35Re: Baidu File System – A distributed file system for real-time applications
#36Re: Baidu File System – A distributed file system for real-time applications
#37Why is there no English documentation ?
Re: Baidu File System – A distributed file system for real-time applications
#38Why is there no English documentation ?
Re: Baidu File System – A distributed file system for real-time applications
#39Why is there no English documentation ?