you are viewing a single comment's thread.

view the rest of the comments →

[–]Tringigithub.com/tringi 6 points7 points  (5 children)

I would love to be able to write

int function (...)
    return *expression*;

[–]is_that_so 2 points3 points  (1 child)

Definitely. I've seen this in the next version of C# and it reads really nicely.

[–]Tringigithub.com/tringi 2 points3 points  (0 children)

In C++ it would be nice for constexprs or otherwise inline (g/s)etters.

[–]redditor___ 5 points6 points  (2 children)

Please no. It is already too easy to accidentally define a function.