Castle –> M$!!

How did i miss this?!?!?!

http://hammett.castleproject.org/?p=312

Looks like Hammet the creator of the totaly kick ass Castle Stack has been rounded up by M$. ScottGu and BradA are really rounding up the .Net celebrities and creating a pretty amazing team over there.

These upcoming projects like MEF better blow everything out of the water. if it doesnt the must be some ploticaly issues… the numbers of outstanding devs/pm/architects invloved is quite impressive.

IoC 101

Keeping with the theme, here is a great introduction blog post from StructureMap creator Jeremy D Miller on Inversion of Control and Dependency Injection.

I have never used StructureMap on any live apps, which is a shame as i have followed its life cycle over the past few years as it documentation, mainly thru JDM’s blog posts, have been very interesting. If you want to see how to integrate something like StructureMap into your existing code base check out Rob Conerys re factoring session with Jeremy . Actually check out the whole video series its great to watch as you get to see someone make mistake and fix them. People don’t actually learn very well from watching experts, they learn better from watching people adapt after making small errors. wow.. 4 years of Pysch just paid off! so check it out and watch rob talk with Gods of .Net (JDM, Ayende etc)

Design Patterns 101

How have i missed these!!!
JP Boo hoo hoo hoo 😉 has some great intro’s to Design Patterns on DNR TV. I am just watching the first of the series now so cant yet comment on the rest but so far so good. He presents it really well, but beware if you are not a ReSharper user it may be a bit of a tornado.

Check it out!
DotNetRocks TV Archives
John Paul’s Design shows: 63, 65, 68, 71, 92

BTW Word on the street is JP’s .Net courses are top-shelf-single-malt awesomeness. I have been recommended them from guys i respect in the community but have not had the chance to attend (get to the UK mate). If you get the chance to go to one at least investigate.

JP’s Blog

Harnessing Multi Core Power

I am wondering how may people out there are actively investigation Parallel development? Who is using F# or other functional languages? Is anyone really kicking the tyres of .Net 3.5 Parallel Extensions CTP?
With my new found wealth of 8 core power I figure not playing with this stuff is just dumb. Sure playing with a bunch of VMs and running a whole bunch of apps is nice, but i would really like to start harnessing some of that power for some grunty work… i just cant think of anything useful off the top off my head!

TDD 101

Local London ALT.Net-er and MVP Ian Cooper has put up a good TDD post with indications of more to come. I would recommend all to read this even if you regularly employ TDD and espeically if you are still coming to terms with the process. It covers basic concepts and acronyms that you should be aware of.
Check it out!

The book he mentions is very good for jumping in to TDD. I bought and read it on Ian’s recommendation earlier this year and highly recommend it as a way to get your feet wet or to show colleagues how to begin the TDD process. Check it out here:
Kent Beck’s book Test-Driven Development, By Example

How Did You Get Started in Software Development?

I met a bunch of nice guys at Alt.net Seattle, two of whom Ii got on with really well, Tim and Chris. I think we were kinda of in the same boat, a little overwhelmed by the uber geeks that we were associating with, while still been stoked that we were there and contributing.

Tim Barcz tagged me this week asking how I got started with programming. So here it goes.

How old were you when you started programming?

I first started playing with computers to squeeze memory out of our poky little of a computer so we could play games.. trivial CONFIG.SYS or AUTOEXEC.BAT edits really plus some very simple computer classes at high school. My first real bash at coding was in 1998 in Java 101 at The University of Auckland followed by and Advanced Diploma in Business Systems (Java)

What was your first programming language?

Besides HTML and batch files? Java I suppose (that shows my age or lack of).

What was the first real program you wrote?

My first commercial piece of software was a warranty system for an eCommerce software company. Thrown straight in the deep end using .net 1.1 and vb.net a framework and language I had never used before. prior to that i had attempted to help my brother build my personal training web site (In a past life i was a Sports Scientist/Strength coach, how things have changed!)

If you knew then what you know know would you have started programming?

To be honest, i probably would have never done my Sport Science degree if i knew that i would love programming so much. so to be honest its not all bad because i learnt a lot in the SptSci world that i have related to my work ethic in computing.

If there is one thing you learned along the way that you would tell new developers, what would it be?

Like anything, if you enjoy it you will be more likely to excel in it. Also don’t get caught up in language or API specifics. Good fundamentals will get you much further than a deep (but narrow) API knowledge.

What’s the most fun you’ve ever had … programming?

Being able to travel the world with out worrying about how i will make a buck. Auckland, Perth and London so far.. not bad for under 5 years in the industry.
Also being able to work in an ACDC T-Shirt and jandals is actually pretty cool.

I’d like to hear from:

Stu, Todd, Jerome and CDS… but none of them have blogs because they are dorks :p
so I’ll call out my Bro (who blogs as often as i go to the opera):
Lee “Gumble” Campbell
and a couple of smart buggers that i used to work with in Perth
Bill Poole
and Chris Nurse

VAR Abuse

Why do you use C#? Is it just because that’s what you where told to use? Are you one of those that hates VB.net with out any reasons other than, “its what hobbyist coders use”?.
I have a feeling there are some people that just don’t “get it”. Unfortunately Jeff Atwood seems to be one of those. I have been reading his blog for years and he frequently brings up great points ideas and thoughts about software in general.
Unfortunately I have to strongly disagree with the path of one of his recent blogs: Department of Declaration Redundancy Department

To me that is “var abuse”. If you are using C#, IMO, you should be using it as a statically typed language and use feature like var as a get out of jail free card when it is needed, or will provider significant “value add”.
Using it everywhere make your code weak, in the world of C#.
If you want to use a dynamically typed/inferred language, use one! Don’t try to bend a statically typed language in nasty ways to do your work for you.

My major concern real here is maintenance. Introducing var as common place syntax means you are diluting two worlds. Coding standards may go by the way side for no reason other than, “I can use var so I will use var”.
Would you mix you HTML, CSS, JavaScript, ASP.Net script tags and code behind all in one file? If so, then var is for you! Just don’t expect a job from me any time soon.

The irony is the people that say “yeah i use var all the time” are often the ones that say, “yeah but i would never use vb”..well why not?

My original reply:

comment like :
“Agreed. I use var all the time. It could be even more concise if they dropped the ‘var'”
Make me ask: “Why are you coding in C#?”
Find a language that supports what you want! Try Iron python if you what to stay on the CRL/DRL.
I am keeping my “IFoo foo = new Foo();” syntax, thank you very much.
It concerns me that C# is trying to be the everything language. I give it about 3 years before no one whats to code in it anymore due to the lines be sooo blurred.
Use C# how is it supposed to be used, then use Boo, Iron python etc for more dynamic approaches.
Would you put all you JavaScript, CSS, ASP.Net and HTML in one file? I see this and being a similar scenario. 4 DIFFERENT “languages” solving different problems.
my $0.02
RhysC

Alt.Net London 2.0!

Looks like Ian and the lads have done the good deed and set the wheels in motion for London Alt.Net 2.0!

If this is anything like the Seattle open spaces it should be a great affair. The cool thing about open spaces is the attendees make the event. The topics that get covered are dictated by the attendees and presented by the attendees. So if you have any great ideas or queries start thinking about them now.
I also hope the London event is as international as Seattle. Now I cant expect the calibre of personalities, as Seattle is the mother ship, however I would certainly hope to see the big guns from the UK and a much larger European contingency at this one, especially as European travel is sooooo cheap.

Register here asap as once it’s full, that’s it!

nothing to do with code but…

This has nothing to do with code but the topic transcends all topics:
Rancid are coming to town.
If you don’t know how they are, well, I’m not surprised… but you will be when you listen and then realise they rule… like so many, burdened with false first impressions, before you 🙂

UK TOUR 2008
Nov 01 2008 8:00P Newcastle Academy Newcastle
Nov 02 2008 8:00P Glasgow Barrowlands Glasgow
Nov 03 2008 8:00P Manchester Academy Manchester
Nov 04 2008 8:00P Bristol Academy Bristol
Nov 06 2008 8:00P Cardiff University Great Hall Cardiff
Nov 07 2008 8:00P Sheffield Academy Sheffield
Nov 08 2008 8:00P Leeds Academy Leeds
Nov 10 2008 8:00P Nottingham Rock City Nottingham
Nov 11 2008 8:00P Birmingham Academy Birmingham
Nov 12 2008 8:00P Portsmouth Pyramid Portsmouth
Nov 14 2008 8:00P London Astoria London

Give em the boot!