DEV Community

loading...

Discussion on: Do you have a process for naming things?

Collapse
scottishross profile image
Ross Henderson

I work in Oracle, so I'll explain my variable types:

Varchar2: v_thisIsVarchar2
Number: n_thisIsNumber
Clob: c_imAClob
Blob: b_imABlob
Date: d_imADate
Raw: r_imRaw

These are the ones I used most. But if I have attributes in a specific procedure, (i.e. let's say I'm calling an LDAP procedure) for those variables I'll append l_ to it, just to separate them.