[Gambas-user] Better use of prefixes

Cedron Dawg cedron at exede.net
Sun Mar 17 15:38:31 CET 2019


"No soup for you!"

Of course it isn't that important, except when it is:

http://articles.latimes.com/1999/oct/01/news/mn-17288

https://en.wikipedia.org/wiki/Mars_Climate_Orbiter

That's the "carry the units" issue in play.

However, the Little-Endians vs the Big-Endians, is just as important today as it was in Gulliver's Travels.

It is not worth getting angry over, that's for sure.  Either prefixing system can be converted to from the other, or from scratch, mechanically.

What is left unanswered for me so far, is what is the proper convention for user defined classes?

I generally do (name)Class.class for the filename and the use (name) as a suffix kind declaration.

Example:

CoconutClass.class --> ArgCoconut and myCoconut in the source code I provided.  There is no need for a unique identifier because there is only one.

Would you do "cocoThis" and add "coco" to the plethora of prefixes?



----- Original Message -----
From: "adamnt42" <adamnt42 at gmail.com>
To: "user" <user at lists.gambas-basic.org>
Sent: Sunday, March 17, 2019 4:40:05 AM
Subject: Re: [Gambas-user] Better use of prefixes

It really isn't that important.
8<
b

----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----


More information about the User mailing list