Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why did I write this code?
Message
De
16/12/2021 10:15:56
 
 
À
16/12/2021 03:31:43
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01682961
Message ID:
01682976
Vues:
48
>>Because you could!
>
>Such inspiration doesn't happen every day.
>

I know, right?!

I'm doing a lot of website 'translation' from VB to c# written by people who were learning VB as they went. I'm seeing loads of inspirational code.

Tho', to be fair, I'm sure the people who inherited some of my first work in c# thought the same :-)

>>>Hi,
>>>
>>>I know I should not be admitting to writing some stupid code. But I was refactoring code in one method where I have the following, in a long SQL Select.
>>>
>>>isnul( table1.table_pk,11) as table1_pk  
>>>
>>>Since this is a PK value of a table, it should never be NULL.
>>>But suppose I was being extra cautious, why "11"?
>>>
>>>Please no name calling :)
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform