Re: svn commit: r1803899 - in /subversion/trunk/subversion: libsvn_ra_serf/ libsvn_subr/ mod_dav_svn/
From: Julian Foad <julianfoad_at_apache.org>
Date: Thu, 3 Aug 2017 09:33:49 +0100
Stefan Sperling wrote:
Am I right in thinking what the caller really wants to know is whether
* the caller wants to know one thing (is it high bandwidth),
Naming the helper function 'is_local' splits the guesswork to two
Naming the helper function 'is_low_latency' would make this function do
That is probably better, so long as there is only one such caller.
A self-documenting option that scales to multiple callers is to put all
is_probably_high_bandwidth() {
That is probably best.
- Julian
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.