Click here to Skip to main content
15,905,967 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: Do we really need asynchronous programming? I don't think so. Pin
xiecsuk30-Mar-15 22:12
xiecsuk30-Mar-15 22:12 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
CDP180218-Mar-15 22:42
CDP180218-Mar-15 22:42 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
manchanx18-Mar-15 23:01
professionalmanchanx18-Mar-15 23:01 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
CDP180218-Mar-15 23:04
CDP180218-Mar-15 23:04 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
CDP180218-Mar-15 23:10
CDP180218-Mar-15 23:10 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
manchanx18-Mar-15 23:37
professionalmanchanx18-Mar-15 23:37 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
CDP180218-Mar-15 23:45
CDP180218-Mar-15 23:45 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
Afzaal Ahmad Zeeshan19-Mar-15 1:01
professionalAfzaal Ahmad Zeeshan19-Mar-15 1:01 
I would say, don't use guns unless you're an army guy or a security provider!

Similarly, don't use async programming model unless you know what you're doing. async programming can be made easy if you're able to understand, why WPF applications seem like to hang up when you're working with a (web of disk) resource, user would believe that the application has just hung up whereas it is waiting for the thread to be freed to update the GUI.

Synchronous programming is easy, I know... Just write the code and the machine would execute line-by-line. No problem right? But that is a good thing while programming a Console application. Client knows, he has to wait for the command to execute. But, if you're providing a graphical interface, you've already given the developers a pain in (well you know)... Thus using async model won't be painful enough for them. They will be able to handle.

Finally, everyone has their own point of view. I have never used async model in Console application, waiting doesn't cause a problem... That cursor keeps me notified that something is going on (unless I am asking for a value to be fetched; with a label above). But if I am going to develop a WPF application, I should be using async model for responsiveness of the graphical interface.

The one thing I like about the answer is the ASP.NET MVC solution, he is right! Browser would always wait for the time until the response has been made and sent back. Using async model there would be an idiotic action.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
Mark J. Miller20-Mar-15 4:32
Mark J. Miller20-Mar-15 4:32 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
Afzaal Ahmad Zeeshan20-Mar-15 5:02
professionalAfzaal Ahmad Zeeshan20-Mar-15 5:02 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
DavidSherwood20-Mar-15 6:24
DavidSherwood20-Mar-15 6:24 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
Afzaal Ahmad Zeeshan20-Mar-15 12:28
professionalAfzaal Ahmad Zeeshan20-Mar-15 12:28 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
Vark11119-Mar-15 3:42
Vark11119-Mar-15 3:42 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
Brady Kelly19-Mar-15 20:00
Brady Kelly19-Mar-15 20:00 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
thund3rstruck20-Mar-15 2:44
thund3rstruck20-Mar-15 2:44 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
stevev620-Mar-15 3:55
stevev620-Mar-15 3:55 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
User 483504720-Mar-15 4:16
User 483504720-Mar-15 4:16 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
Mark J. Miller20-Mar-15 4:54
Mark J. Miller20-Mar-15 4:54 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
jschell20-Mar-15 12:27
jschell20-Mar-15 12:27 
GeneralRe: Do we really need asynchronous programming? I don't think so. Pin
KP Lee20-Mar-15 17:58
KP Lee20-Mar-15 17:58 
GeneralWeird naming conventions Pin
Jacquers18-Mar-15 22:02
Jacquers18-Mar-15 22:02 
GeneralRe: Weird naming conventions Pin
Rage18-Mar-15 22:04
professionalRage18-Mar-15 22:04 
GeneralRe: Weird naming conventions Pin
Johnny J.18-Mar-15 22:07
professionalJohnny J.18-Mar-15 22:07 
GeneralRe: Weird naming conventions Pin
Jacquers18-Mar-15 22:08
Jacquers18-Mar-15 22:08 
GeneralRe: Weird naming conventions Pin
Mike Hankey18-Mar-15 22:09
mveMike Hankey18-Mar-15 22:09 

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.