[Gambas-user] Better use of prefixes

Cedron Dawg cedron at exede.net
Sat Mar 16 20:52:40 CET 2019


I would argue Sub Buttons_Click() would be simpler and better for a group handler.

The acid test is how comprehensible is it to a reasonably intelligent person who has no prior knowledge.  Having to know a bunch of cryptic prefix abbreviations is not simple by any means.

The only firm right or wrong is whether the compiler gets it right.

It can be costly though if a maintainer gets it wrong.



----- Original Message -----
From: "gen braga" <genbraga1 at gmail.com>
To: "user" <user at lists.gambas-basic.org>
Sent: Saturday, March 16, 2019 3:42:40 PM
Subject: Re: [Gambas-user] Better use of prefixes

If you allow me, in this case I do. 

And all buttons get grouped in the IDE method selector. 

You presented several good ideas indeed but I advocate the "KISS" method, with less options. 

But, afterall, its a matter of personal preference, since based on simple guidelines. 

Cheers, 

Gen. 

Em sáb, 16 de mar de 2019 16:26, Cedron Dawg < [ mailto:cedron at exede.net | cedron at exede.net ] > escreveu: 




Do you think "Sub btnNumber_Click()" is really better? 






More information about the User mailing list