Click here to Skip to main content
15,892,537 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Names Pin
grralph122-Apr-21 5:25
grralph122-Apr-21 5:25 
GeneralRe: Names Pin
honey the codewitch22-Apr-21 5:44
mvahoney the codewitch22-Apr-21 5:44 
GeneralRe: Names Pin
grralph122-Apr-21 14:05
grralph122-Apr-21 14:05 
GeneralRe: Names Pin
Mike Winiberg22-Apr-21 21:21
professionalMike Winiberg22-Apr-21 21:21 
GeneralRe: Names Pin
grralph122-Apr-21 23:56
grralph122-Apr-21 23:56 
GeneralRe: Names Pin
honey the codewitch23-Apr-21 2:01
mvahoney the codewitch23-Apr-21 2:01 
GeneralRe: Names Pin
Stefan_Lang2-May-21 3:02
Stefan_Lang2-May-21 3:02 
GeneralRe: Names Pin
Mike Winiberg2-May-21 5:32
professionalMike Winiberg2-May-21 5:32 
Indeed so!

For the avoidance of doubt, these were not functions created by me! 8)

I have never understood the need, even in interpreted languages like modern BASICs etc, for 'hungarian' notation - if the language isn't type-safe, then no amount of attaching prefixes etc is going to prevent some library assigning a string to the integer variable you just passed it silently and hence subtly altering the results etc.

Possibly useful as a reminder to you as coder, but cannot be relied on by anyone else reading your code, so better to have meaningful variables and proper tests, exception handling etc so that context reveals what should be going on.

I'm working on a very elderly codebase at the moment where some, but not all, tables are named tbl<name>; some, but not all, forms are frm<name>; some, but not all, reports rpt<name> etc etc. The lack of consistency renders all these prefixes completely useless and just makes typing out code tedious and mistake prone...

As for comments? Ah yes, I did find one, once, somewhere in the 100,000 or so lines of code...
GeneralRe: Names Pin
Stefan_Lang4-May-21 1:41
Stefan_Lang4-May-21 1:41 
GeneralRe: Names Pin
Mike Winiberg4-May-21 5:12
professionalMike Winiberg4-May-21 5:12 
GeneralRe: Names Pin
Stefan_Lang4-May-21 8:48
Stefan_Lang4-May-21 8:48 
GeneralRe: Names Pin
Mike Winiberg4-May-21 10:38
professionalMike Winiberg4-May-21 10:38 
GeneralRe: Names Pin
Mike Winiberg4-May-21 11:11
professionalMike Winiberg4-May-21 11:11 
GeneralRe: Names Pin
Sander Rossel22-Apr-21 9:24
professionalSander Rossel22-Apr-21 9:24 
GeneralRe: Names Pin
grralph122-Apr-21 14:04
grralph122-Apr-21 14:04 
GeneralRe: Names Pin
Wizard of Sleeves22-Apr-21 20:52
Wizard of Sleeves22-Apr-21 20:52 
GeneralRe: Names Pin
grralph123-Apr-21 0:28
grralph123-Apr-21 0:28 
GeneralRe: Names Pin
Stefan_Lang2-May-21 3:17
Stefan_Lang2-May-21 3:17 
GeneralRe: Names Pin
Daniel Will22-Apr-21 21:22
Daniel Will22-Apr-21 21:22 
GeneralRe: Names Pin
grralph122-Apr-21 23:59
grralph122-Apr-21 23:59 
GeneralRe: Names Pin
Member 1068017923-Apr-21 2:56
Member 1068017923-Apr-21 2:56 
GeneralRe: Names Pin
Rusty Bullet23-Apr-21 3:09
Rusty Bullet23-Apr-21 3:09 
GeneralRe: Names Pin
BernardIE531723-Apr-21 5:00
BernardIE531723-Apr-21 5:00 
GeneralRe: Names Pin
grralph123-Apr-21 22:36
grralph123-Apr-21 22:36 
GeneralRe: Names Pin
Member 986208223-Apr-21 5:26
Member 986208223-Apr-21 5:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.