Click here to Skip to main content
15,891,431 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.

 
GeneralIs it just me or does this feel weird Pin
Chris Maunder10-May-18 4:54
cofounderChris Maunder10-May-18 4:54 
GeneralRe: Is it just me or does this feel weird Pin
Nathan Minier10-May-18 5:46
professionalNathan Minier10-May-18 5:46 
GeneralRe: Is it just me or does this feel weird Pin
User 1106097910-May-18 6:44
User 1106097910-May-18 6:44 
GeneralRe: Is it just me or does this feel weird Pin
Gary Wheeler10-May-18 5:58
Gary Wheeler10-May-18 5:58 
GeneralRe: Is it just me or does this feel weird Pin
RickZeeland10-May-18 6:41
mveRickZeeland10-May-18 6:41 
GeneralRe: Is it just me or does this feel weird Pin
Slacker00710-May-18 6:43
professionalSlacker00710-May-18 6:43 
GeneralRe: Is it just me or does this feel weird Pin
Slacker00710-May-18 6:41
professionalSlacker00710-May-18 6:41 
GeneralRe: Is it just me or does this feel weird Pin
Richard Deeming10-May-18 7:44
mveRichard Deeming10-May-18 7:44 
C#
public IEnumerable<int> TheAnswer()
{
    yield return 42;
}

Signature says IEnumerable<int>, but the value after return is an int.

OK, it's not quite the same thing: you're using yield return instead of just return. But it's similar.

Would you have preferred another contextual keyword for async methods?
C#
public async Task<Result> LoadData()
{
   ...
   // Eg:
   async return result;
   // Or:
   return async result;
}




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Is it just me or does this feel weird Pin
Nathan Minier11-May-18 1:42
professionalNathan Minier11-May-18 1:42 
GeneralRe: Is it just me or does this feel weird Pin
Richard Deeming11-May-18 1:46
mveRichard Deeming11-May-18 1:46 
GeneralRe: Is it just me or does this feel weird Pin
PIEBALDconsult10-May-18 8:04
mvePIEBALDconsult10-May-18 8:04 
GeneralRe: Is it just me or does this feel weird Pin
Slacker00710-May-18 8:54
professionalSlacker00710-May-18 8:54 
GeneralRe: Is it just me or does this feel weird Pin
André Pereira11-May-18 1:02
André Pereira11-May-18 1:02 
GeneralRe: Is it just me or does this feel weird Pin
CPallini10-May-18 10:05
mveCPallini10-May-18 10:05 
GeneralRe: Is it just me or does this feel weird Pin
Christian Graus10-May-18 14:39
protectorChristian Graus10-May-18 14:39 
GeneralRe: Is it just me or does this feel weird Pin
Sander Rossel10-May-18 22:13
professionalSander Rossel10-May-18 22:13 
GeneralRe: Is it just me or does this feel weird Pin
Peter Adam10-May-18 23:12
professionalPeter Adam10-May-18 23:12 
GeneralWindows Error Of The Day Pin
raddevus10-May-18 4:47
mvaraddevus10-May-18 4:47 
GeneralRe: Windows Error Of The Day Pin
lopatir10-May-18 4:59
lopatir10-May-18 4:59 
GeneralRe: Windows Error Of The Day Pin
raddevus10-May-18 5:50
mvaraddevus10-May-18 5:50 
GeneralRe: Windows Error Of The Day Pin
dandy7210-May-18 6:37
dandy7210-May-18 6:37 
GeneralRe: Windows Error Of The Day Pin
raddevus10-May-18 7:27
mvaraddevus10-May-18 7:27 
AnswerRe: Windows Error Of The Day Pin
abmv10-May-18 6:37
professionalabmv10-May-18 6:37 
GeneralRe: Windows Error Of The Day Pin
raddevus10-May-18 7:28
mvaraddevus10-May-18 7:28 
GeneralRe: Windows Error Of The Day Pin
Randor 10-May-18 7:47
professional Randor 10-May-18 7:47 

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.