Click here to Skip to main content
15,887,822 members

Survey Results

Do you write async code in .NET?

Survey period: 28 Sep 2015 to 5 Oct 2015

The async/await keywords have been with us a while now. Are you taking advantage of them?

OptionVotes% 
Yes, whenever it makes sense55332.64
Yes, sometimes39223.14
No - we don't use .NET 4.526215.47
No - we don't have situations where async makes sense18210.74
No we don't27216.06
I don't code331.95



 
GeneralNot really Pin
Rob Philpott30-Sep-15 22:56
Rob Philpott30-Sep-15 22:56 
GeneralI don't like this attitude... Pin
Sander Rossel29-Sep-15 7:46
professionalSander Rossel29-Sep-15 7:46 
I'd use it when it would make sense.

Microsoft's attitude about it is ridiculous though.
What was it? Everything that takes longer than 0.2 seconds should be async?
We implemented something like that before async, except we needed about three seconds to load the screen.
Everything was responsive, no way the user had to stare at a loading screen for three seconds... But still they did!
Our users needed to do their job and had to wait for the job to finish, whether that took three seconds or 0.2 seconds and whether the screen froze up or was responsive, they were going to wait.
So there goes all the hard work of making it async, the users would've been just as happy if the screen froze up as they were going to wait anyway...
Visit my blog at Sander's bits - Writing the code you need.
Or read my articles at my CodeProject profile.
Simplicity is prerequisite for reliability.
— Edsger W. Dijkstra
Regards,
Sander

GeneralRe: I don't like this attitude... Pin
Rob Philpott30-Sep-15 22:46
Rob Philpott30-Sep-15 22:46 
GeneralRe: I don't like this attitude... Pin
Marius Bancila3-Oct-15 11:08
professionalMarius Bancila3-Oct-15 11:08 
GeneralRe: I don't like this attitude... Pin
obermd3-Oct-15 7:39
obermd3-Oct-15 7:39 
GeneralThe only thing that really sucks about async... Pin
Shopko29-Sep-15 7:05
Shopko29-Sep-15 7:05 
GeneralI still prefer BackgroundWorker Pin
Wastedtalent29-Sep-15 5:29
professionalWastedtalent29-Sep-15 5:29 
GeneralDon't do I/O on user thread Pin
pughjl29-Sep-15 2:03
pughjl29-Sep-15 2:03 
GeneralNot .NET? Pin
Peter Mulholland28-Sep-15 23:27
Peter Mulholland28-Sep-15 23:27 
GeneralRe: Not .NET? Pin
CDP18021-Oct-15 21:10
CDP18021-Oct-15 21:10 
GeneralThreads PinPopular
PIEBALDconsult28-Sep-15 5:22
mvePIEBALDconsult28-Sep-15 5:22 
GeneralJust use threads Pin
MarqW28-Sep-15 4:01
MarqW28-Sep-15 4:01 
GeneralNo opportunities yet Pin
Dan Neely28-Sep-15 2:53
Dan Neely28-Sep-15 2:53 
GeneralLimited use PinPopular
Marc Clifton28-Sep-15 1:44
mvaMarc Clifton28-Sep-15 1:44 
GeneralRe: Limited use Pin
Slacker00728-Sep-15 2:39
professionalSlacker00728-Sep-15 2:39 
GeneralRe: Limited use Pin
  Forogar  30-Sep-15 4:01
professional  Forogar  30-Sep-15 4:01 
GeneralRe: Limited use Pin
Mike (Prof. Chuck)30-Sep-15 6:23
professionalMike (Prof. Chuck)30-Sep-15 6:23 
GeneralIt's Turtles All the Way Down... Pin
Agent__00727-Sep-15 23:01
professionalAgent__00727-Sep-15 23:01 
GeneralRe: It's Turtles All the Way Down... Pin
Slacker00728-Sep-15 2:38
professionalSlacker00728-Sep-15 2:38 
General.NET only, or is WinRT included? Pin
Afzaal Ahmad Zeeshan27-Sep-15 22:04
professionalAfzaal Ahmad Zeeshan27-Sep-15 22:04 
GeneralWhenever it makes sense Pin
AlexCode27-Sep-15 21:55
professionalAlexCode27-Sep-15 21:55 
GeneralNative code rulez Pin
den2k8827-Sep-15 21:24
professionalden2k8827-Sep-15 21:24 
GeneralRe: Native code rulez Pin
KarstenK29-Sep-15 2:40
mveKarstenK29-Sep-15 2:40 
GeneralRe: Native code rulez Pin
den2k8829-Sep-15 2:48
professionalden2k8829-Sep-15 2:48 
GeneralWe use .NET but I don't Pin
R. Erasmus27-Sep-15 20:51
R. Erasmus27-Sep-15 20:51 

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.