Sign In
Fabulous Adventures In Coding
Eric Lippert's Blog
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Aargh! (8)
accuracy (6)
Arrays (8)
ASP (11)
AStar (5)
Async (15)
bad jokes (14)
Begging the question (4)
Benford's Law (3)
Best Of FAIC (12)
Big Words (5)
Books (23)
Breaking Changes (24)
Brittle Base Classes (6)
C# (326)
C# 4.0 (39)
C# 5.0 (10)
Cargo Cult Programming (4)
cast operator (3)
Channel 9 (6)
Charts (6)
closures (3)
Code Generation (10)
Code Quality (29)
COM Programming (57)
Conditional Operator (3)
Continuation Passing Style (11)
Conversions (16)
Covariance and Contravariance (22)
customer service (4)
declaration spaces (5)
definite assignment (3)
Dialogue (14)
English Usage (11)
exception handling (9)
Floating Point Arithmetic (15)
grammars (9)
graph colouring (5)
GUIDs (3)
Hashing (9)
High Dimensional Spaces (5)
Immutability (27)
integer arithmetic (5)
Interviewing (8)
Introduction (6)
It Hurts When I Do This (5)
Iterators (10)
JScript (93)
JScript .NET (29)
keywords (4)
Lambda Expressions (20)
Language Design (62)
local variables (3)
localization (3)
Mathematics (18)
Memory Management (13)
Metablogging (9)
Mistakes (6)
Music (6)
myths (7)
namespaces (5)
Non-computer (37)
Optional arguments (5)
Overload Resolution (9)
Pages (25)
Performance (48)
precedence (4)
precision (7)
protected (7)
Puzzles (49)
quotable quotations (4)
Rants (51)
Rarefied Heights (52)
reachability (4)
Recursion (26)
reference (4)
Regular Expressions (13)
Relationships (4)
Salt (4)
Science (12)
scope (5)
Scripting (189)
Security (46)
shadowcasting (6)
SimpleScript (30)
Software development methodology (13)
Static Methods (6)
Threading (18)
Topological Sort (4)
Type Inference (18)
type safety (4)
unsafe code (4)
Value Types (11)
VBScript (80)
Video (12)
virtual dispatch (9)
VSTO (10)
warnings (5)
What's The Difference? (11)
Zombies (4)
Archive
Archives
May 2012
(1)
April 2012
(5)
March 2012
(3)
February 2012
(7)
January 2012
(5)
December 2011
(9)
November 2011
(4)
October 2011
(3)
September 2011
(3)
August 2011
(2)
July 2011
(5)
June 2011
(3)
May 2011
(7)
April 2011
(6)
March 2011
(9)
February 2011
(8)
January 2011
(7)
December 2010
(4)
November 2010
(8)
October 2010
(11)
September 2010
(8)
July 2010
(7)
June 2010
(7)
May 2010
(10)
April 2010
(9)
March 2010
(10)
February 2010
(8)
January 2010
(8)
December 2009
(5)
November 2009
(9)
October 2009
(9)
September 2009
(8)
August 2009
(9)
July 2009
(9)
June 2009
(12)
May 2009
(9)
April 2009
(9)
March 2009
(10)
February 2009
(4)
January 2009
(7)
November 2008
(2)
October 2008
(5)
September 2008
(4)
August 2008
(1)
July 2008
(2)
June 2008
(3)
May 2008
(11)
April 2008
(3)
March 2008
(2)
February 2008
(5)
January 2008
(5)
December 2007
(7)
November 2007
(5)
October 2007
(13)
September 2007
(3)
August 2007
(6)
July 2007
(2)
June 2007
(7)
May 2007
(4)
April 2007
(9)
March 2007
(2)
January 2007
(5)
November 2006
(3)
October 2006
(1)
September 2006
(1)
August 2006
(1)
July 2006
(2)
June 2006
(4)
May 2006
(5)
April 2006
(3)
March 2006
(4)
January 2006
(1)
December 2005
(7)
November 2005
(7)
October 2005
(9)
September 2005
(8)
August 2005
(9)
July 2005
(7)
June 2005
(7)
May 2005
(7)
April 2005
(12)
March 2005
(7)
February 2005
(6)
January 2005
(13)
December 2004
(9)
November 2004
(3)
October 2004
(5)
September 2004
(7)
August 2004
(14)
July 2004
(10)
June 2004
(11)
May 2004
(20)
April 2004
(26)
March 2004
(32)
February 2004
(14)
January 2004
(16)
December 2003
(7)
November 2003
(13)
October 2003
(32)
September 2003
(36)
October, 2003
MSDN Blogs
>
Fabulous Adventures In Coding
>
October, 2003
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Fabulous Adventures In Coding
Functions are not frames
Posted
over 9 years ago
by
Eric Lippert
3
Comments
I just realized that on my list of features missing from JScript.NET "fast mode" I forgot about the caller property of functions....
Fabulous Adventures In Coding
Global State On Servers Considered Harmful
Posted
over 9 years ago
by
Eric Lippert
5
Comments
The other day I noted that extending the built-in objects in JScript .NET is no longer legal in "fast mode". Of course, this is still legal in "compatibility mode" if you need it, but why did we take it out of fast mode?...
Fabulous Adventures In Coding
How many Microsoft employees does it take to change a lightbulb?
Posted
over 9 years ago
by
Eric Lippert
51
Comments
Any new feature which does not serve a large percentage of users is essentially stealing valuable resources that could be spent implementing features, fixing bugs or looking for security vulnerabilities that DO impact the lives of millions of people....
Fabulous Adventures In Coding
JScript Goes All To Pieces
Posted
over 9 years ago
by
Eric Lippert
2
Comments
My entry the other day about fast mode in JScript .NET sparked a number of questions which deserve fuller explanations. I’ll try to get to them in my next couple of blog entries. For example, when I said that it was no longer legal to redefine a function, I wasn’t really clear on what I meant. ...
Fabulous Adventures In Coding
The Most Boring Story Ever
Posted
over 9 years ago
by
Eric Lippert
3
Comments
The other day a reader suggested that I "make a blogentry about how you started at MS and so on!" You asked, but I'm warning you: it's the most boring story ever....
Fabulous Adventures In Coding
Compatibility vs. Performance
Posted
over 9 years ago
by
Eric Lippert
9
Comments
Earlier I mentioned that two of the design goals for JScript .NET were high performance and compatibility with JScript Classic . Unfortunately these are somewhat contradictory goals! JScript Classic has many dynamic features which make generation...
Fabulous Adventures In Coding
Michael's Security Blog is online
Posted
over 9 years ago
by
Eric Lippert
2
Comments
Michael Howard has started blogging. If you're interested in writing secure code (and these days, who isn't?) you could do worse than to read anything he writes. ...
Fabulous Adventures In Coding
Attention passengers: Flight 0703 is also known as Flight 451
Posted
over 9 years ago
by
Eric Lippert
5
Comments
I hate octal. Octal causes bugs. I hate bugs, particularly stupid "gotcha" bugs....
Fabulous Adventures In Coding
Making Sense of HRESULTS
Posted
over 9 years ago
by
Eric Lippert
19
Comments
Every now and then -- like, say, this morning -- someone sends me this mail: "I'm getting an error in my JScript program. The error number is -2147024877. No description. Help!" Making sense of those error numbers requires some delving into the depths of how COM represents errors -- the HRESULT....
Fabulous Adventures In Coding
Constant Folding and Partial Evaluation
Posted
over 9 years ago
by
Eric Lippert
4
Comments
A reader asks "is there any reason why VBScript doesn't change "1234567890" & "hello" to "1234567890hello" since they are both constants?" Good question. Yes, there are reasons....
Fabulous Adventures In Coding
I'm not stringing you along, honest
Posted
over 9 years ago
by
Eric Lippert
20
Comments
JScript and VBScript are often used to build large strings full of formatted text, particularly in ASP. Unfortunately, naïve string concatenations are a major source of performance problems....
Fabulous Adventures In Coding
The Malware of Ultimate Destruction
Posted
over 9 years ago
by
Eric Lippert
6
Comments
Peter's not the only one who's kept up at night worrying about this stuff. Last night I couldn't sleep because I was thinking about how his characterization of the ActiveX Control Of Ultimate Destruction really isn't bad enough. If this is going to be the ULTIMATE in destruction, let's think about just how evil we can get....
Fabulous Adventures In Coding
How Bad Is Good Enough?
Posted
over 9 years ago
by
Eric Lippert
9
Comments
I keep talking about script performance without ever actually giving my rant about why most of the questions I get about performance are pointless at best, and usually downright harmful. ...
Fabulous Adventures In Coding
Long jumps considered way more harmful than exceptions
Posted
over 9 years ago
by
Eric Lippert
5
Comments
In the dark days before exception handling you could always use setjmp/longjmp to do non-local gotos. In fact, the script engines are compiled in C++ with exception handling turned off and the mainline loop of the bytecode interpreter uses setjmp-longjmp exception handling to implement error handling....
Fabulous Adventures In Coding
VBScript : VB :: ping-pong : volleyball
Posted
over 9 years ago
by
Eric Lippert
12
Comments
often it really doesn't matter what language you learn. For many programmers, the language is just the thing that stands between you and the object model....
Fabulous Adventures In Coding
Dead Trees vs. Bits
Posted
over 9 years ago
by
Eric Lippert
3
Comments
Speaking of books, people keep telling me and Peter and Raymond that we should write books based on our blogs. Well, I probably am going to write another book this winter, but it will have pretty much nothing to do with the stuff in this blog. The natures of a blog and a book are very different ...
Fabulous Adventures In Coding
I Take Exception To That
Posted
over 9 years ago
by
Eric Lippert
6
Comments
Joel and Ned are having a spirited debate over the merits of exception handling. Oddly enough, I agree with both of them....
Fabulous Adventures In Coding
Designing JScript .NET
Posted
over 9 years ago
by
Eric Lippert
5
Comments
A while back a reader asked for a rundown on some of the design decisions we made when designing JScript .NET. That's a huge topic, but fortunately I started writing a book on the subject a few years ago that never found a publisher. Tell you what -- whenever I can't think of something more interesting to post, I'll put snippets of it up on my blog....
Fabulous Adventures In Coding
Digging A Security Hole All The Way To China
Posted
over 9 years ago
by
Eric Lippert
3
Comments
I mentioned earlier that I wrote one of the last books published by the now-bankrupt Wrox Press....
Fabulous Adventures In Coding
Wrox is dead, long live Wrox
Posted
over 9 years ago
by
Eric Lippert
1
Comments
A number of people have expressed surprise to me that Wrox is out of business. Here's the scoop....
Fabulous Adventures In Coding
It Never Leaks But It Pours
Posted
over 9 years ago
by
Eric Lippert
5
Comments
The whole point of developing a garbage collected language is to decrease the burden on the developer. Because the underlying infrastructure manages memory for you, you don't have to worry about introducing leaks. Of course, that puts the burden squarely upon the developer of the underlying infrastructure, ie, me...
Fabulous Adventures In Coding
What Everyone Should Know About Character Encoding
Posted
over 9 years ago
by
Eric Lippert
4
Comments
Thank goodness Joel wrote this article -- that means that I can cross it off of my list of potential future blog entries! Thanks Joel! http://www.joelonsoftware.com/articles/Unicode.html Fortunately...
Fabulous Adventures In Coding
How Do I Script A Non-Default Dispatch?
Posted
over 9 years ago
by
Eric Lippert
7
Comments
In JScript and VBScript, when you create an object the creation code always returns the default dispatch. Furthermore, in JScript, when you fetch a property on an object and it returns a dispatch object, we ask the object to give us the default dispatch. So in JScript, there is no way to script a non-default dispatch. What about in VBScript? There's an irksome story here, again featuring a really bad mistake made by yours truly. At least I meant well....
Fabulous Adventures In Coding
Why Is There No #Include?
Posted
over 9 years ago
by
Eric Lippert
7
Comments
A common and entirely sensible programming practice is to put commonly used utility functions in one file, and then somehow link that file in to many different programs. In traditional compiled languages you can compile a bunch of utilities into a statically linked .LIB file or a dynamically linked .DLL file. But what do you do in script, where a program is just text? ...
Fabulous Adventures In Coding
WSC vs WSH
Posted
over 9 years ago
by
Eric Lippert
1
Comments
Following up on this morning's entry, a reader asked me why Windows Script Components don't have access to the WScript object. "it IS running in an instance of WSH isnt it?" No, it isn't. That's a common misperception....
Page 1 of 2 (32 items)
1
2