[CF-Devel] clean code?

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sat Aug 7 06:27:43 CDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mm cleanup weird stuff? like using carefully a snprintf and  2 lines later 
using strcat? Well am already cleaning (and it take a huge amount of time) 
string manipulation in server code (to prevent buffer overflows :) )

Le samedi 07 Août 2004 12:44, Nicolas Weeger a écrit :
tchize a écrit :
>
     
      Wandering in the code today, i was wondering. Am i the only one to feel
     
     >
     
      ashamed by those 'goto' in the code? When i learned programming 12 years
     
     >
     
      ago, i was learned never to use them because you endup with spaghetti
     
     >
     
      programs.
     
     
Well, somehow function calls & such are really gotos....
But yes, if we could avoid'em, i too think that'd be better.
Though maybe we could first clean the code of other weird stuff, fix
broken things, and so on :)

Ryo

_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     

- -- 
- --
David Delbecq
     
     d.delbecq at laposte.net
     
     
Public PGP KEY FINGERPRINT:
    F4BC EF69 54CC F2B5 4621  8DAF 1C71 8E6B 5436 C17C
Public PGP KEY location:
    
     
     http://wwwkeys.pgp.net/pgpnet/wwwkeys.html
     
     
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBFLy1HHGOa1Q2wXwRAo+DAJ0WS60DoH05DuYC/ddIOp9J1NPvVwCgtclx
NBg8cNS05pYiBzUXLnxoFbM=
=Y22L
-----END PGP SIGNATURE-----

_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list