Adventures in Meta programming in Python: im_class, __import__, __getattribute__

With my recent work in Python win32 programming I’ve had a real need for AAA style mocking framework. Unable to find anything that I’ve been completely happy with I started my own simple mocking framework and got to learn some … Continue reading 

Posted in Python | 3 Comments

Take 3: Python, ISP, IoC, and OCP need a fundamental rethink.

In response to Julian’s thoughtful Dynamic Languages and SOLID Principles I’d have to argue he is about 95% there but is missing the last critical links needed to view this in a whole different light. For ISP, Julian says it … Continue reading 

Posted in Dynamic Langs, IoC | 6 Comments

Take 2: Why we use SOLID in static languages and how we get the same functionality for cheap in dynamic languages

One of the things we do pretty well at Los Techies is explaining SOLID principles and why they make our code more maintainable and if you’re not familiar with our work on SOLID,  read Chad Meyer’s post to get an … Continue reading 

Posted in Dynamic Langs, Python, SOLID | 8 Comments

I recant my IoC! IoC containers in dynamic languages are silly.

After a year or so of solid Alt Dot Net infection (as far as infections go its a pretty awesome one to have), I decided to give Python a try again for more than one off sysadmin tasks, and to … Continue reading 

Posted in Dynamic Langs, IoC, Python | 9 Comments

Alt.Net Evangelism And What We Could Do Better

If we assume our goal as the Alt.Net community is to improve software development as a whole, we’re doing a pretty bad job.  Not that many people have even heard of the concepts we espouse, and those that have but … Continue reading 

Posted in alt.net | 18 Comments

Playing With Haskell

My tech book club is starting to look at Haskell. I’m as big of a language addict as anyone so I wanted to dive in early and this is the overview of what I’ve found so far Statically Typed But … Continue reading 

Posted in Functional, GHC, Haskell, Learning | Leave a comment

Simple BDD/TDD

Todays theory is most tests and specs should be very short (2-3 lines), have at most a setup for context establishment, avoid the majority of test framework features as they should be used as an exception and not as a … Continue reading 

Posted in BDD, TDD | 10 Comments

Dynamic Loading of .Net Assemblies

Problem: You have dependencies which can be in a number of directories outside of the directory your app is running in. DotNet AppDomains are heavy to say the least and very high in ceremony.  You do not want to deal … Continue reading 

Posted in AppDomain, DotNet, Hate | 4 Comments

Focused and Narrow; Superficial and Broad

In my 20′s I got exposed to a large variety of work situations and was able to succeed in a variety of technical fields (admin, developer, hardware tech, etc). I had the time back then to not have to choose … Continue reading 

Posted in Learning | Leave a comment

“Hero Mode Refactoring” AKA Enemy Of Brown Field Development

What do I mean by “Hero Mode Refactoring”?  We’ve all worked with code that wasn’t easily made testable. Most of the time we see a big ball of mud and have no idea where to begin. Sometimes however we have … Continue reading 

Posted in BDD, Brownfield, TDD | 4 Comments