Click here to Skip to main content
15,891,253 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: From the Museum of Ugly Code Pin
TheGreatAndPowerfulOz6-Nov-18 5:11
TheGreatAndPowerfulOz6-Nov-18 5:11 
GeneralRe: From the Museum of Ugly Code Pin
Richard Deeming6-Nov-18 4:32
mveRichard Deeming6-Nov-18 4:32 
GeneralRe: From the Museum of Ugly Code Pin
TheGreatAndPowerfulOz6-Nov-18 5:06
TheGreatAndPowerfulOz6-Nov-18 5:06 
GeneralRe: From the Museum of Ugly Code Pin
charlieg6-Nov-18 9:17
charlieg6-Nov-18 9:17 
GeneralRe: From the Museum of Ugly Code Pin
raddevus6-Nov-18 10:47
mvaraddevus6-Nov-18 10:47 
GeneralRe: From the Museum of Ugly Code Pin
Member 91670576-Nov-18 21:09
Member 91670576-Nov-18 21:09 
GeneralRe: From the Museum of Ugly Code Pin
Tomz_KV7-Nov-18 3:41
Tomz_KV7-Nov-18 3:41 
GeneralRe: From the Museum of Ugly Code Pin
raddevus7-Nov-18 3:58
mvaraddevus7-Nov-18 3:58 
That's a very good article. I always like analogies because they help so much.
And this :
C++
char* dest, src;

is a great example of code that once you know, you know, but after not seeing it for years kind of makes you pause and think, "wait, is src a char* too or just a char?
That's exactly like the weird for loop I was displaying.
It just makes you think extra for no reason.

And I liked Hungarian for years. I still do, but I'm kind of one the fence about it. You can tell what the types are, even if there is not intellisense. The point of the obj thing was that it wasn't helpful because I can tell you're calling a method on the thing so I can tell it's an object anyways. I prefixes like n and i did help so I didn't have to always back up the code and look to see what the thing was.
Then on the other hand, go ahead and name vars so I can tell that it will contain numeric values versus strings, etc.

modified 7-Nov-18 10:06am.

JokeRe: From the Museum of Ugly Code Pin
Chris Maunder7-Nov-18 4:50
cofounderChris Maunder7-Nov-18 4:50 
GeneralRe: From the Museum of Ugly Code Pin
raddevus7-Nov-18 5:04
mvaraddevus7-Nov-18 5:04 
GeneralRe: From the Museum of Ugly Code Pin
Baraaaaaa7-Nov-18 5:27
Baraaaaaa7-Nov-18 5:27 
GeneralRe: From the Museum of Ugly Code Pin
raddevus7-Nov-18 5:36
mvaraddevus7-Nov-18 5:36 
GeneralRe: From the Museum of Ugly Code Pin
Gerry Schmitz7-Nov-18 5:44
mveGerry Schmitz7-Nov-18 5:44 
GeneralRe: From the Museum of Ugly Code Pin
raddevus7-Nov-18 5:48
mvaraddevus7-Nov-18 5:48 
GeneralRe: From the Museum of Ugly Code Pin
StrataRocha7-Nov-18 6:53
StrataRocha7-Nov-18 6:53 
JokeRe: From the Museum of Ugly Code Pin
raddevus7-Nov-18 7:25
mvaraddevus7-Nov-18 7:25 
GeneralRe: From the Museum of Ugly Code Pin
James Lonero9-Nov-18 6:38
James Lonero9-Nov-18 6:38 
NewsA weasel walks into a bar... Pin
Johnny J.5-Nov-18 23:57
professionalJohnny J.5-Nov-18 23:57 
GeneralRe: A weasel walks into a bar... Pin
  Forogar  6-Nov-18 2:20
professional  Forogar  6-Nov-18 2:20 
GeneralRe: A weasel walks into a bar... Pin
megaadam6-Nov-18 2:38
professionalmegaadam6-Nov-18 2:38 
GeneralRe: A weasel walks into a bar... Pin
Ron Anders6-Nov-18 2:53
Ron Anders6-Nov-18 2:53 
GeneralRe: A weasel walks into a bar... Pin
musefan6-Nov-18 3:22
musefan6-Nov-18 3:22 
GeneralRe: A weasel walks into a bar... Pin
Johnny J.6-Nov-18 4:02
professionalJohnny J.6-Nov-18 4:02 
GeneralRe: A weasel walks into a bar... Pin
littleGreenDude6-Nov-18 3:12
littleGreenDude6-Nov-18 3:12 
GeneralRe: A weasel walks into a bar... Pin
Johnny J.6-Nov-18 3:21
professionalJohnny J.6-Nov-18 3:21 

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.