Browse by Tags

Tagged Content List
  • Blog Post: The Truth About Value Types

    As you know if you've read this blog for a while , I'm disturbed by the myth that "value types go on the stack". Unfortunately, there are plenty of examples in our own documentation and in many books that reinforce this myth, either subtly or overtly. I'm opposed to it because: It is usually stated...
  • Blog Post: The Stack Is An Implementation Detail, Part Two

    A number of people have asked me, in the wake of my earlier posting about value types being on the stack, why it is that value types go on the stack but reference types do not. The short answer is “because they can”. And since the stack is cheap , we do put them on the stack when possible. The long answer...
  • Blog Post: The Stack Is An Implementation Detail, Part One

    " style="BORDER-TOP-WIDTH: 0px; DISPLAY: inline; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN-LEFT: 0px; MARGIN-RIGHT: 0px; BORDER-RIGHT-WIDTH: 0px" height=240 alt="Stack " src="http://blogs.msdn.com/blogfiles/ericlippert/WindowsLiveWriter/TheStackIsAnImplementationDetail_C978/Stack_thumb_1...
  • Blog Post: References are not addresses

    [NOTE: Based on some insightful comments I have updated this article to describe more clearly the relationships between references, pointers and addresses. Thanks to those who commented.] I review a fair number of C# books; in all of them of course the author attempts to explain the difference between...
  • Blog Post: C# In Depth

    Good morning, we interrupt our irregular and unscheduled ramblings with this breaking news bulletin: I am pleased to pass on news of the availability of Jon Skeet's new book "C# in Depth" . I had the privilege of being the technical editor of this book. But I've gotta tell you, when I unzipped the files...
  • Blog Post: How to not get a question answered

    Raymond has had lots of great posts over the years on how to not get a question answered. Some of the ways he points out that help ensure that a question goes unanswered are: Use a difficult or meaningless subject line. Ask a grammatically unclear question . Forget to actually ask a question...
  • Blog Post: C++ and the Pit Of Despair

    Raymond has an interesting post today about two subtle aspects of C#: how order of evaluation in an expression is specified as strictly left-to-right, and how the rules regarding local shadowing ensure that an identifier has exactly one meaning in a local scope. He makes an educated guess that the reason...
  • Blog Post: Talking About The Weather, Part Two

    What we’re missing is a phenomenon that probably was described correctly by your high school science teacher, namely, the phenomenon of “ latent heat ” (which is what I was taught, though “enthalpy” would be the more modern term.) I said that the temperature of a substance is the average amount of...
  • Blog Post: Talking About The Weather, Part One

    No technology today; just talking about the weather. I love talking about the weather. I mentioned the other day that I had just returned from my ancestral homeland on the shores of Lake Huron, the great inland sea of southwestern Ontario. We got some rip-roaring thunderstorms this year. I love...
  • Blog Post: How to make little girls scream like… well, like little girls

    [No technology today, so if you're only here for the witty banter about programming languages, skip this one.] Leah and I spent the week before Halloween volunteering at Nightmare At Beaver Lake , a haunted-house-style attraction that runs along the trails in Beaver Lake Park, just on the other side...
  • Blog Post: Through the Looking Glass

    I'm back, I'm married, we had a fabulous time, and now I'm setting up new machines and figuring out what the heck I'm doing on the C# team. Today, we'll get back into it with some non-tech fun. A regular flat mirror seems like it ought to be perfectly symmetrical in its operations. So why is it that...
  • Blog Post: What I Did On My Summer Vacation

    I'm back, and I've almost made it through the 525 not-automatically-sorted email messages, caught up on my blog reading, and so on. There are a number of interesting technical questions in my backlog that I'll start getting to later this week once I dig myself out of the pile of bug reports that accumulated...
Page 1 of 1 (12 items)