GNOME Bugzilla – Bug 680166
CodingStyle: add rulez about multiple returned values
Last modified: 2016-03-31 14:01:27 UTC
Some proposal to spice up the day while Zeeshan is on holiday :) Just kidding, we should try to convince him in GUADEC! * If a function returns several equally important values, they should all be given as out arguments. IOW, prefer this: void get_a_and_b (out string a, out string b) rather than the un-even, string get_a_and_b (out b)
Created attachment 219095 [details] [review] CodingStyle: add rulez about multiple returned values
rule*Z* ? For what it's worth, I agree with what you suggest, this came up in a review some weeks ago.
(In reply to comment #2) > rule*Z* ? He was thinking about me, hence the 'Z'. :) >For what it's worth, I agree with what you suggest, this came up in a > review some weeks ago. Yeah, I'm good with that.
Attachment 219095 [details] pushed as d1a36c6 - CodingStyle: add rulez about multiple returned values