> On Aug. 6, 2015, 9:56 a.m., Alexander Rojas wrote: > > 3rdparty/libprocess/include/process/http.hpp, line 754 > > <https://reviews.apache.org/r/36847/diff/7/?file=1028524#file1028524line754> > > > > I'm rather late to the party, but AFAIK Mesos appreciates consistency > > over doing some things right and some wrong. > > > > The Mesos way would be to add the method in a consistent way and then > > do a sweep change for all the other http calls. > > > > That being said, the way I have seen other http libraries getting > > around the keyword issue is by using an underscore at some point.
To paraphrase a well-known maxim... I'd rather be sometimes right, than consistently wrong :) (and, as per my usual, adding here my favorite [demotivator](http://despair.com/collections/demotivators/products/consistency) :D More seriously, good point about underscore, the problem here is that wherever you put it, you end up violating a style rule and/or doing something ugly - a real conumdrum! - Marco ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/36847/#review94388 ----------------------------------------------------------- On Aug. 4, 2015, 10:57 a.m., Joerg Schad wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/36847/ > ----------------------------------------------------------- > > (Updated Aug. 4, 2015, 10:57 a.m.) > > > Review request for mesos, Alexander Rukletsov and Bernd Mathiske. > > > Bugs: MESOS-3152 > https://issues.apache.org/jira/browse/MESOS-3152 > > > Repository: mesos > > > Description > ------- > > see summary. > > > Diffs > ----- > > 3rdparty/libprocess/include/process/http.hpp > b8d930058aa3ae9d21ae0f7b420d49f2448f84b1 > 3rdparty/libprocess/src/http.cpp 4dcbd74b894b483c4d166c23fac55ac8dba75166 > 3rdparty/libprocess/src/tests/http_tests.cpp > ecbcbd552ac834659860627c82628ed38e6139b3 > > Diff: https://reviews.apache.org/r/36847/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Joerg Schad > >
