Click here to Skip to main content
15,884,838 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: The mystery of the disappearing socks Pin
charlieg30-Jun-20 17:28
charlieg30-Jun-20 17:28 
GeneralRe: The mystery of the disappearing socks Pin
TheGreatAndPowerfulOz29-Jun-20 9:59
TheGreatAndPowerfulOz29-Jun-20 9:59 
GeneralRe: The mystery of the disappearing socks Pin
dandy7229-Jun-20 10:36
dandy7229-Jun-20 10:36 
GeneralThe most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
honey the codewitch29-Jun-20 5:57
mvahoney the codewitch29-Jun-20 5:57 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
Richard MacCutchan29-Jun-20 6:24
mveRichard MacCutchan29-Jun-20 6:24 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
Sander Rossel29-Jun-20 8:25
professionalSander Rossel29-Jun-20 8:25 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
Richard MacCutchan29-Jun-20 9:23
mveRichard MacCutchan29-Jun-20 9:23 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
David O'Neil29-Jun-20 10:06
professionalDavid O'Neil29-Jun-20 10:06 
I believe I was in college when I started playing around with C (self-learning). I loved the expressiveness, and was sold on it at that point. Then, as I played around more and more, I started bumping into situations where the logic was becoming nested so deep that it became painful to keep track of. (IE, 7 level deep 'if' statements.)

When I finally got my head around C++, those logic nightmares vanished with the magic of virtual functions. It was a HUGE shift, and magnificently freeing.

I've always wondered why so many like yourself seem to love C so much, given that its syntax (was?) so easy to become ugly, with all the casting involved, and can fairly easily get the deeply nested logic I encountered. I'm not asking to attack C, just curious as to whether I'm overlooking something big, since most C stuff can be done in C++ if you chose not to use objects. And if you slightly objectify things, the casting is reduced.

Thanks!
David

GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
Greg Utas29-Jun-20 14:08
professionalGreg Utas29-Jun-20 14:08 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
David O'Neil29-Jun-20 15:30
professionalDavid O'Neil29-Jun-20 15:30 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
Greg Utas29-Jun-20 23:41
professionalGreg Utas29-Jun-20 23:41 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
kalberts30-Jun-20 1:34
kalberts30-Jun-20 1:34 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
Greg Utas30-Jun-20 1:56
professionalGreg Utas30-Jun-20 1:56 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
kalberts30-Jun-20 3:02
kalberts30-Jun-20 3:02 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
David O'Neil30-Jun-20 3:28
professionalDavid O'Neil30-Jun-20 3:28 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
David O'Neil30-Jun-20 4:27
professionalDavid O'Neil30-Jun-20 4:27 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
Greg Utas30-Jun-20 7:23
professionalGreg Utas30-Jun-20 7:23 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
David O'Neil30-Jun-20 7:55
professionalDavid O'Neil30-Jun-20 7:55 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
Greg Utas30-Jun-20 8:15
professionalGreg Utas30-Jun-20 8:15 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
David O'Neil30-Jun-20 9:06
professionalDavid O'Neil30-Jun-20 9:06 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
kalberts30-Jun-20 10:18
kalberts30-Jun-20 10:18 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
Greg Utas30-Jun-20 13:15
professionalGreg Utas30-Jun-20 13:15 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
honey the codewitch29-Jun-20 15:51
mvahoney the codewitch29-Jun-20 15:51 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
honey the codewitch29-Jun-20 15:46
mvahoney the codewitch29-Jun-20 15:46 
GeneralRe: The most complicated P/Invoke call I've ever had to make from C# and it's a doozy Pin
David O'Neil29-Jun-20 16:08
professionalDavid O'Neil29-Jun-20 16:08 

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.