Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why did I write this code?
Message
From
16/12/2021 10:15:56
 
 
To
16/12/2021 03:31:43
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01682961
Message ID:
01682976
Views:
47
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform