[tor-bugs] #28114 [Metrics/Library]: Improve getter names for boolean fields in metrics-lib

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Oct 27 10:19:17 UTC 2018


#28114: Improve getter names for boolean fields in metrics-lib
-----------------------------+------------------------------
 Reporter:  efgyirfe784      |          Owner:  metrics-team
     Type:  enhancement      |         Status:  new
 Priority:  Medium           |      Milestone:
Component:  Metrics/Library  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------

Comment (by karsten):

 One thing to keep in mind here is that current metrics-lib getter names
 follow the naming of Tor descriptor keywords. If we rename methods
 returning booleans to more meaningful English, it'll become a slightly bit
 harder for folks looking at dir-spec.txt to find the corresponding
 metrics-lib method. Not sure what to do about this.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28114#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list