[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #26184 [Applications/Tor Browser]: Think about using `const` as much as possible in Torbutton code
#26184: Think about using `const` as much as possible in Torbutton code
--------------------------------------+--------------------------
Reporter: gk | Owner: tbb-team
Type: task | Status: new
Priority: Medium | Milestone:
Component: Applications/Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: tbb-torbutton | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------------+--------------------------
Comment (by mcs):
I am not sure if we should use `const` everywhere we can. Is Mozilla doing
this? Here is an article that makes for interesting reading; especially
look at the "Liberal let" and "Constantly const" sections. What to do
probably comes down to personal preference, but as a team it would be good
to adopt some guidelines.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26184#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs