Click here to Skip to main content
12,621,450 members (31,177 online)

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: Function Pointer Basics in C++ Pin
VentsyV21-Jan-13 18:58
memberVentsyV21-Jan-13 18:58 
GeneralRe: Function Pointer Basics in C++ Pin
Dan Neely22-Jan-13 10:05
memberDan Neely22-Jan-13 10:05 
NewsSnoop – Firebug for WPF applications Pin
Terrence Dorsey21-Jan-13 13:12
staffTerrence Dorsey21-Jan-13 13:12 
NewsGetting Too Cute with C# Yield Return Pin
Terrence Dorsey21-Jan-13 13:11
staffTerrence Dorsey21-Jan-13 13:11 
I ran across a method that returned an IEnumerable<t> recently, and I implicitly typed its return value. During the course of a series of method extractions, code movement, and general refactoring, I wound up with some code that passed the various unit tests in place but failed curiously at runtime. After peering at it for a few minutes and going through once in the debugger, I traced it to a problem that you don’t see every day, and one that probably would have had me tearing my hair out if I didn’t have a good working understanding of what the “yield” keyword in C# does. So today, I’ll present the essence of this problem in the hopes that, if you weren’t aware of it, you are now.
Understanding the IInnumerable pitfalls of deferred execution.
GeneralRe: Getting Too Cute with C# Yield Return Pin
PIEBALDconsult21-Jan-13 16:34
memberPIEBALDconsult21-Jan-13 16:34 
GeneralRe: Getting Too Cute with C# Yield Return Pin
Ranjan.D21-Jan-13 16:45
memberRanjan.D21-Jan-13 16:45 
NewsC and C++ Aren’t Future Proof Pin
Terrence Dorsey21-Jan-13 13:11
staffTerrence Dorsey21-Jan-13 13:11 
GeneralRe: C and C++ Aren’t Future Proof Pin
PIEBALDconsult21-Jan-13 18:32
memberPIEBALDconsult21-Jan-13 18:32 
NewsWhen Haskell Is Not faster than C Pin
Terrence Dorsey21-Jan-13 13:10
staffTerrence Dorsey21-Jan-13 13:10 
NewsMasterminds of Programming Pin
Terrence Dorsey21-Jan-13 11:46
staffTerrence Dorsey21-Jan-13 11:46 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 2 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid