Login
Forgot Password?

OR

Login with Google Login with Twitter Login with Facebook
  • Join
  • Profiles
  • Groups
  • SuicideGirls
  • Photos
  • Videos
  • Shop
Vital Stats

burtlo

Member Since 2004

Followers 133 Following 745

  • Everything
  • Photos
  • Video
  • Blogs
  • Groups
  • From Others

Sunday Feb 22, 2009

Feb 22, 2009
0
  • Facebook
  • Tweet
  • Email
Let's play a new game. One in which I make a detailed post that tries to make absolutely little sense to any of you and you provide a detailed response that will make absolutely little sense to me.


I am still in technical debt based on the design choices I made based on my lack of fluency with scons, python, and ASP.Net. The initial build system limped along with the aid of an attendant. What I essentially did was throw her into an assisted living community. But she's still wetting herself, going into cardiac arrest, and refusing to take her medication. So I've gone the 6 million dollar man route and rewrote the core build structure to allow for a number of needed features like: exception handling; debug logging; logging system events and e-mailing on error/critical failures; and unit tests.

On the subject of unit tests. I understand the idea behind sealed/final classes but I really never had any strong feelings for them. Until I came upon the challenge of actually testing one. I never even thought of sub-classing one in this world of design patterns clamoring for encapsulation (which I agree with completely in most every cases). So I throw it in another class and wire up the methods and properties I need to fake out and that is when I learn that one of the objects that the class returns is also another set of sealed/final/abstract classes that I can't simply fake without encapsulating again or running them through some mock factory. How far down the rathole goes...

The other problem is that it fails to address the fact that I can't call the method directly. So reflection takes center stage and I can call upon the methods that were not intended for me to call but then I find that I need to manufacture the actual test object.

Fuck it.

However, from the above experience, in the desperation brought on by this moment I found some amazing websites related to the problem. Particularly two libraries: Duck Typing and Rhino Mocks. Besides their usefulness it's fun to pepper your conversations with these words. I will admit that I would have preferred a different mock system but I am currently not living in a world of .NET 3.5.

Coupling these tools with those that generate static analysis and dynamic code analysis (McCabe, though I am on the lookout for a good free one) makes me realize that there is absolute overabundance of tools and libraries that I have yet to find and employ in my everyday development.
bird:
hi smile
Mar 7, 2009

More Blogs

  • 01.25.09
    0

    Sunday Jan 25, 2009

    British Sea Power British Sea Power makes it to the next round (a …
  • 01.23.09
    1

    Friday Jan 23, 2009

    Some people were 'let go' today. It's similar to sacrificing people …
  • 01.01.09
    4

    Thursday Jan 01, 2009

    The Top 1 Way to Write an Internet Article. 1. Create an article t…
  • 12.29.08
    9

    Tuesday Dec 30, 2008

    Read More
  • 12.19.08
    7

    Saturday Dec 20, 2008

    Read More
  • 11.09.08
    4

    Sunday Nov 09, 2008

    I feel as though our naming conventions for media do not accurately r…
  • 10.29.08
    16

    Wednesday Oct 29, 2008

    Read More
  • 10.18.08
    5

    Saturday Oct 18, 2008

    Housewarming tonight (7pm) I e-mailed some. I missed a few. If…
  • 10.08.08
    6

    Wednesday Oct 08, 2008

    Moved. Sick. Right now I want to be sicked. When I dream now, it …
  • 09.16.08
    7

    Tuesday Sep 16, 2008

    Moving. I secretly enjoy it. At least, when I have to move my own t…

We at SuicideGirls have been celebrating alternative pin-up girls for:

23
years
10
months
16
days
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,599 SuicideGirls
  • 1,115,033 followers
  • 14,943,683 photos
  • 321,315 followers
  • 61,451,015 comments
  • Join
  • Profiles
  • Groups
  • Photos
  • Videos
  • Shop
  • Help
  • About
  • Press
  • LIVE

Legal/Tos | DMCA | Privacy Policy | 18 U.S.C. 2257 Record-Keeping Requirements Compliance Statement | Contact Us | Vendo Payment Support
©SuicideGirls 2001-2025

Press enter to search
Fast Hi-res

Click here to join & see it all...

Crop your photo