You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Benjamin Hindman <be...@berkeley.edu> on 2015/03/12 16:59:07 UTC

Review Request 31992: Added a TODO for readability reviews.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31992/
-----------------------------------------------------------

Review request for mesos, Bernd Mathiske and Ben Mahler.


Repository: mesos


Description
-------

See summary.


Diffs
-----

  readability/TODO PRE-CREATION 

Diff: https://reviews.apache.org/r/31992/diff/


Testing
-------

N/A


Thanks,

Benjamin Hindman


Re: Review Request 31992: Added a TODO for readability reviews.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31992/#review76281
-----------------------------------------------------------


Patch looks great!

Reviews applied: [31992]

All tests passed.

- Mesos ReviewBot


On March 12, 2015, 3:59 p.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31992/
> -----------------------------------------------------------
> 
> (Updated March 12, 2015, 3:59 p.m.)
> 
> 
> Review request for mesos, Bernd Mathiske and Ben Mahler.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> See summary.
> 
> 
> Diffs
> -----
> 
>   readability/TODO PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/31992/diff/
> 
> 
> Testing
> -------
> 
> N/A
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 31992: Added a TODO for readability reviews.

Posted by Benjamin Hindman <be...@berkeley.edu>.

> On March 12, 2015, 6:53 p.m., Ben Mahler wrote:
> > * Braces: placed on separate line for class / struct / function definitions. Same line otherwise.
> > 
> > Do we want to tackle higher level style here that is currently missing from the style guide?
> > 
> > * Use Try / Result to describe functions that can fail synchronously (rather than returning NULL, -1, etc).
> > * Use Option to capture something that is optionally set (rather than NULL, -1, etc).
> > * Use Future failure to capture asychronous failures.
> > * Do not block inside the execution context of a libprocess Process.

Yes, I love all these and we should continue to add to the TODO document.


- Benjamin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31992/#review76271
-----------------------------------------------------------


On March 12, 2015, 3:59 p.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31992/
> -----------------------------------------------------------
> 
> (Updated March 12, 2015, 3:59 p.m.)
> 
> 
> Review request for mesos, Bernd Mathiske and Ben Mahler.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> See summary.
> 
> 
> Diffs
> -----
> 
>   readability/TODO PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/31992/diff/
> 
> 
> Testing
> -------
> 
> N/A
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 31992: Added a TODO for readability reviews.

Posted by Ben Mahler <be...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31992/#review76271
-----------------------------------------------------------


* Braces: placed on separate line for class / struct / function definitions. Same line otherwise.

Do we want to tackle higher level style here that is currently missing from the style guide?

* Use Try / Result to describe functions that can fail synchronously (rather than returning NULL, -1, etc).
* Use Option to capture something that is optionally set (rather than NULL, -1, etc).
* Use Future failure to capture asychronous failures.
* Do not block inside the execution context of a libprocess Process.

- Ben Mahler


On March 12, 2015, 3:59 p.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31992/
> -----------------------------------------------------------
> 
> (Updated March 12, 2015, 3:59 p.m.)
> 
> 
> Review request for mesos, Bernd Mathiske and Ben Mahler.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> See summary.
> 
> 
> Diffs
> -----
> 
>   readability/TODO PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/31992/diff/
> 
> 
> Testing
> -------
> 
> N/A
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>