Sign in
jaredpar's WebLog
Code, rants and ramblings of a programmer.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
API Design
C#
C++
Closures
Debugging
DotNet
F#
Futures
Generics
Gotcha
Immutable
Lambda
LINQ
Misc
Orcas
Patterns
PInvoke
PowerShell
Rant
Threading
Tuple
Type Inference
VB
Visual Studio
VsVim
Archive
Archives
February 2013
(1)
August 2012
(1)
May 2012
(1)
July 2011
(1)
March 2011
(3)
January 2011
(3)
November 2010
(2)
October 2010
(2)
September 2010
(1)
July 2010
(5)
June 2010
(8)
May 2010
(2)
April 2010
(1)
March 2010
(2)
February 2010
(5)
January 2010
(2)
December 2009
(6)
November 2009
(3)
October 2009
(1)
September 2009
(1)
August 2009
(1)
June 2009
(2)
May 2009
(1)
April 2009
(3)
March 2009
(2)
February 2009
(3)
January 2009
(10)
December 2008
(6)
November 2008
(7)
October 2008
(20)
September 2008
(8)
August 2008
(11)
July 2008
(5)
June 2008
(13)
May 2008
(9)
April 2008
(16)
March 2008
(7)
February 2008
(11)
January 2008
(13)
December 2007
(6)
November 2007
(9)
October 2007
(10)
September 2007
(5)
August 2007
(8)
July 2007
(2)
June 2007
(2)
May 2007
(3)
April 2007
(3)
February 2007
(3)
January 2007
(8)
December 2006
(3)
November 2006
(2)
October 2006
(4)
September 2006
(1)
August 2006
(1)
July 2006
(2)
April 2006
(7)
November 2005
(3)
October 2005
(1)
September 2005
(1)
August 2005
(2)
July 2005
(8)
June 2005
(1)
May 2005
(7)
April 2005
(4)
March 2005
(4)
February 2005
(2)
January 2005
(2)
November 2004
(1)
September 2004
(3)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
jaredpar's WebLog
Code is not self documenting
Posted
over 5 years ago
by
JaredPar MSFT
17
Comments
Nothing revolutionary about that statement. Yet I keep reading the opposite on various comment threads and message boards so I thought it a good idea to explore it again. Code is not self documenting. The "code is self document" argument...
jaredpar's WebLog
Enums vs. Adapters
Posted
over 5 years ago
by
JaredPar MSFT
9
Comments
I like Enums and use them frequently for options and behavior. To an extent I use Enum's to control behavior. For example enum Kind { Kind1, Kind2, Kind3 } class Example { private Kind m_kind; public int SomeAction() { switch...
jaredpar's WebLog
Bit by void*
Posted
over 5 years ago
by
JaredPar MSFT
6
Comments
Recently I got bit by void* again because of another C++ quirk I didn't think through. I had a class which wrapped a void* which could be one of many different structs. The structs were POD and didn't have any shared functionality hence I...
jaredpar's WebLog
Making code display better on your blog
Posted
over 5 years ago
by
JaredPar MSFT
5
Comments
My blogging tool is Windows Live Writer and I use the "Insert From Visual Studio" plug-in to get pretty looking code into my postings. The generated code uses the <pre> tag for formatting the elements. Unfortunately my blog...
jaredpar's WebLog
PInvoke Interop Assistant now on CodePlex
Posted
over 5 years ago
by
JaredPar MSFT
4
Comments
I'm happy to announce that the PInvoke Interop Assistant tool is now available on CodePlex. This includes the binaries, source code and the dev authored unit tests. It is hosted on the more general CLR Interop Tools page. http://www...
jaredpar's WebLog
Making Equality easier
Posted
over 5 years ago
by
JaredPar MSFT
2
Comments
Recently I've done a bit of posting about the difficulties of properly implementing equality in VB (and DotNet in general). While most of the problems can be fixed with a standard snippet the one really hard to implement issue is GetHashCode(). The rules...
jaredpar's WebLog
Book Review: Facts and Fallacies of Software Engineering
Posted
over 5 years ago
by
JaredPar MSFT
2
Comments
I finished reading Facts and Fallacies of Software Engineering a few weeks ago. This is an excellent book and I recommend it for anyone who's been in the industry for a few years. Typically I don't enjoy books of this type because I feel they...
jaredpar's WebLog
To name a tuple value: A or Item0?
Posted
over 5 years ago
by
JaredPar MSFT
1
Comments
One of the parts of a Tuple implementation for RantPack I struggled the most with was naming. I tend to struggle with names quite a bit and there's really no reason for it. It's a combination of pickiness and ... well there's really no good...
jaredpar's WebLog
Book Review: The Pragmatic Programmer
Posted
over 5 years ago
by
JaredPar MSFT
1
Comments
Finished reading The Pragmatic Programmer a few weeks ago. I've been slacking off on the book review but better late than never. This is a good book for people desiring to be a more pragmatic programmer. At ~270 pages it's a quick read...
jaredpar's WebLog
Is there anything in that pipeline?
Posted
over 5 years ago
by
JaredPar MSFT
0
Comments
One operation I frequently perform is use a powershell pipeline to filter out a large set of data. Typically I don't care what is in the result but rather is there actually anything left in the pipeline. I can't find a good powershell built-in to perform...
jaredpar's WebLog
Using PowerShell to make sure your XP machine is defragmented
Posted
over 5 years ago
by
JaredPar MSFT
0
Comments
Quick script you can run at login to ensure that your XP machine is being defragmented. I chose 1:00 AM every evening but you can quickly alter that in the script. I have this script run as part of my regular set of configuration scripts to ensure that...
jaredpar's WebLog
RantPack Update
Posted
over 5 years ago
by
JaredPar MSFT
0
Comments
I released a new version of RantPack today. Mostly this is a bug fix release with a couple of minor new features. https://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=RantPack&ReleaseId=1119 Features Added a way to shim Immutable...
jaredpar's WebLog
Inkpot Color Scheme
Posted
over 5 years ago
by
JaredPar MSFT
0
Comments
I was reading Charlie's post on VS Color schemes and thought I would add my favorite to the list. InkPot is a color setting for vim which I adapted to VS awhile back. Very easy on the eyes. You can download it here
Page 1 of 1 (13 items)