Click here to Skip to main content
15,887,135 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: All in - pointer declaration Pin
honey the codewitch12-Dec-22 14:21
mvahoney the codewitch12-Dec-22 14:21 
GeneralRe: All in - pointer declaration Pin
Mircea Neacsu12-Dec-22 14:28
Mircea Neacsu12-Dec-22 14:28 
GeneralRe: All in - pointer declaration Pin
jschell12-Dec-22 10:44
jschell12-Dec-22 10:44 
GeneralRe: All in - pointer declaration Pin
trønderen12-Dec-22 12:03
trønderen12-Dec-22 12:03 
GeneralRe: All in - pointer declaration Pin
jschell13-Dec-22 10:27
jschell13-Dec-22 10:27 
GeneralRe: All in - pointer declaration Pin
Gary R. Wheeler12-Dec-22 12:44
Gary R. Wheeler12-Dec-22 12:44 
GeneralRe: All in - pointer declaration Pin
Greg Utas12-Dec-22 13:17
professionalGreg Utas12-Dec-22 13:17 
GeneralRe: All in - pointer declaration Pin
Gary R. Wheeler12-Dec-22 14:24
Gary R. Wheeler12-Dec-22 14:24 
Good point. To my thinking const-ness, like pointer-ness, are properties of the variable and not the type.

Part of my dislike for that sort of thing is people use some kind of naming convention (xxxPtr, xxxCPtr,...) that indicates the variant of the type. It pollutes the name space with additional identifiers you need to recognize. This replaces fundamental language syntax which is consistent by definition with arbitrary naming that may or may not be consistent. I've also noticed that the typedef overusers also tend to cast those types, often using language syntax, to other typedef's they've forgotten.
Software Zen: delete this;

GeneralRe: All in - pointer declaration Pin
Greg Utas13-Dec-22 3:10
professionalGreg Utas13-Dec-22 3:10 
GeneralRe: All in - pointer declaration Pin
jmaida12-Dec-22 16:01
jmaida12-Dec-22 16:01 
GeneralRe: All in - pointer declaration Pin
den2k8812-Dec-22 20:36
professionalden2k8812-Dec-22 20:36 
GeneralI'll see your curly braces & raise you a variable naming convention Pin
raddevus12-Dec-22 4:28
mvaraddevus12-Dec-22 4:28 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
den2k8812-Dec-22 4:32
professionalden2k8812-Dec-22 4:32 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
OriginalGriff12-Dec-22 4:32
mveOriginalGriff12-Dec-22 4:32 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
raddevus12-Dec-22 4:35
mvaraddevus12-Dec-22 4:35 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
den2k8812-Dec-22 4:38
professionalden2k8812-Dec-22 4:38 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
Mircea Neacsu12-Dec-22 4:49
Mircea Neacsu12-Dec-22 4:49 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
den2k8812-Dec-22 4:53
professionalden2k8812-Dec-22 4:53 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
Mircea Neacsu12-Dec-22 4:56
Mircea Neacsu12-Dec-22 4:56 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
den2k8812-Dec-22 4:58
professionalden2k8812-Dec-22 4:58 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
Mircea Neacsu12-Dec-22 5:01
Mircea Neacsu12-Dec-22 5:01 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
trønderen12-Dec-22 6:04
trønderen12-Dec-22 6:04 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
Mircea Neacsu12-Dec-22 6:14
Mircea Neacsu12-Dec-22 6:14 
JokeRe: I'll see your curly braces & raise you a variable naming convention Pin
trønderen12-Dec-22 6:49
trønderen12-Dec-22 6:49 
GeneralRe: I'll see your curly braces & raise you a variable naming convention Pin
raddevus12-Dec-22 5:22
mvaraddevus12-Dec-22 5:22 

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.