[Gtk-sharp-list] A small patch

mkestner@speakeasy.net mkestner@speakeasy.net
Fri, 29 Nov 2002 07:58:56 -0800


On 29 Nov 2002, Nelson Fernandez wrote:

> Hi, I'm reading the list time to time to try
> learn some more about csharp and gtksharp ans
> see this statement you write.
>
> Why is better have first the getter method?

Because consistent coding standards make code easier to read, and this is even more important when there are multiple people reading the code.  There is no technical reason to have get before set in property declarations, it just makes for prettier code if all the other decls follow that format.

Mike