Am 20.12.2010 19:22, schrieb Stephen Fisher:
>
> Using accessor functions to set and get values as in object-oriented
> programming instead of directly using the variables would help prevent
> problems like this.

Agreed. This helps hiding implementation change at an API interface. 
Such set of functions should be well defined to keep the names consistent.

--
Andy

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to