Click here to Skip to main content
15,909,539 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: I may move to Arizona Pin
RickZeeland18-Jun-21 20:31
mveRickZeeland18-Jun-21 20:31 
JokeRe: I may move to Arizona Pin
enhzflep20-Jun-21 22:41
enhzflep20-Jun-21 22:41 
GeneralLearning Rust PinPopular
raddevus18-Jun-21 8:02
mvaraddevus18-Jun-21 8:02 
GeneralRe: Learning Rust Pin
Greg Utas18-Jun-21 8:08
professionalGreg Utas18-Jun-21 8:08 
GeneralRe: Learning Rust Pin
Mike Hankey18-Jun-21 9:41
mveMike Hankey18-Jun-21 9:41 
GeneralRe: Learning Rust Pin
Matt McGuire22-Jun-21 4:39
professionalMatt McGuire22-Jun-21 4:39 
GeneralRe: Learning Rust Pin
RickZeeland18-Jun-21 9:43
mveRickZeeland18-Jun-21 9:43 
GeneralRe: Learning Rust Pin
Gary R. Wheeler18-Jun-21 10:33
Gary R. Wheeler18-Jun-21 10:33 
raddevus wrote:
Types are like u64, u32 (unsigned), i32 (integer) f32 (float). Made me laugh because it took me back to the days of hungarian notation[^]
I don't see a connection between the type names you listed and Hungarian notation. The type names are simple, short, and yet meaningfully describe the type.

Hungarian notation on the other hand attempts to encode information about the value's type in the value's name. Microsoft adopted this as a standard, which caused a fair amount of the programming community to follow suit.

Personally I don't like it. The cardinal complaint is that if the type changes, then the value name should change with it. The problems with Hungarian notation are worse than an inconvenience, however. To my mind Hungarian notation violates principles like implementation hiding, since it exposes implementation details in the names. I also find that the prefixes are visual clutter and make the code harder to read. I have a body of code I maintain with hundreds of classes, all of whose names are prefixed by "cls". Utterly worthless clutter.
Software Zen: delete this;

GeneralRe: Learning Rust Pin
raddevus18-Jun-21 10:41
mvaraddevus18-Jun-21 10:41 
GeneralRe: Learning Rust Pin
Gary R. Wheeler18-Jun-21 12:55
Gary R. Wheeler18-Jun-21 12:55 
GeneralRe: Learning Rust Pin
raddevus18-Jun-21 17:14
mvaraddevus18-Jun-21 17:14 
PraiseRe: Learning Rust Pin
Gary R. Wheeler19-Jun-21 8:15
Gary R. Wheeler19-Jun-21 8:15 
GeneralRe: Learning Rust Pin
Garth J Lancaster19-Jun-21 19:58
professionalGarth J Lancaster19-Jun-21 19:58 
GeneralIf you listen ... PinPopular
Jörgen Andersson18-Jun-21 5:26
professionalJörgen Andersson18-Jun-21 5:26 
GeneralRe: If you listen ... Pin
Slacker00718-Jun-21 5:29
professionalSlacker00718-Jun-21 5:29 
GeneralRe: If you listen ... Pin
Daniel Pfeffer18-Jun-21 5:31
professionalDaniel Pfeffer18-Jun-21 5:31 
GeneralRe: If you listen ... Pin
DRHuff18-Jun-21 6:58
DRHuff18-Jun-21 6:58 
GeneralRe: If you listen ... Pin
PIEBALDconsult18-Jun-21 7:29
mvePIEBALDconsult18-Jun-21 7:29 
GeneralRe: If you listen ... Pin
Ravi Bhavnani18-Jun-21 11:10
professionalRavi Bhavnani18-Jun-21 11:10 
GeneralRe: If you listen ... Pin
obermd19-Jun-21 8:08
obermd19-Jun-21 8:08 
GeneralRe: If you listen ... Pin
Johnny J.18-Jun-21 8:49
professionalJohnny J.18-Jun-21 8:49 
GeneralHas anybody found... Pin
David O'Neil18-Jun-21 4:41
professionalDavid O'Neil18-Jun-21 4:41 
GeneralRe: Has anybody found... Pin
musefan18-Jun-21 4:57
musefan18-Jun-21 4:57 
GeneralRe: Has anybody found... Pin
David O'Neil18-Jun-21 5:03
professionalDavid O'Neil18-Jun-21 5:03 
GeneralRe: Has anybody found... Pin
theoldfool18-Jun-21 5:19
professionaltheoldfool18-Jun-21 5:19 

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.