Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Single occurrence in a string
Message
De
30/03/2015 13:11:25
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
30/03/2015 13:06:48
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01617326
Message ID:
01617445
Vues:
48
>>In my book, the less code... the less errors, the less problems reading the code thus the less problems in resolving errors.
>>
>>Which book did you write? I would love to get a copy :)
>
>You first have to read Dutch :)
>Its really simple. A 20 line routine can contain less errors than a 100 line piece of code. It can be written, read, analyzed and corrected faster.
>
>Seriously, Code Complete written by Steve McConnel would be a good book to start with. Especially the chapters that deal with the code itself (rather than architecture and the process of development), leave clear hints about length of code.
>
>Walter,

A yes and no.

As stated earlier in this thread. 100 lines of simple code could be much easier to maintain then 10 lines of rather complex stuff.

A line coud be very tricky :)

To the example this all starts with. If you do all in C and just call it from from VFP. You have two lines VFP. Is this easier to maintan? Only if there is no problem in the C code ....

:)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform