TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: KIWI USER
from: AHEM A RIVET`S SHOT
date: 2018-02-20 18:27:00
subject: Re: Qt on the Pi?

On Tue, 20 Feb 2018 12:25:38 +0000 (UTC)
Kiwi User  wrote:

> Or, better yet, use named that tie in to what your program does: don't
> use 'switch' or 'switch2' if you're setting or reading switches, use
> 'button', 'lightswitch' or 'door_sensor' instead because that also makes
> the program easier to understand.

 This is the best way, for best results decide on all the names for
things up front and stick to them rigidly in variable names, messages and
documentation. Two things happen when you do this, you get consistency
which is very nice and you tend to find a bunch of important details while
you're doing the naming of names because it forces you to examine
everything carefully.

--
Steve O'Hara-Smith                          |   Directable Mirror Arrays
C:\>WIN                                     | A better way to focus the sun
The computer obeys and wins.                |    licences available see
You lose and Bill collects.                 |    http://www.sohara.org/

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.