When: Tuesday 23rd September 2008, doors open 6:00pm, meeting starts 6:30pm
Where: UWE (University of the West of England), Frenchay, Bristol (see FAQ for directions and a map) - Room 2q50 (in Q block)
What: "How to Write Crap Code in C# - Anti-Patterns for Performance" & "Being Lazy With Microsoft Windows Powershell"
Who: Ben Lamb
Why: Because we've seen how to write code properly and it's equally important to know how not to write code. Prepare to be ashamed and to re-write lots of code the next day. Also because PowerShell is phenominally powerful and it is an un-sung power tool that is logical and easy to use and will repay the time spent learning it many fold. Also also because Ben is really easy to listen to - he is a no-nonsense developer who says it like it is.
How do I sign up for this meeting: Send an email to meetings at dotnetdevnet.com and quote your user name and the September meeting
Abstracts:
How to Write Crap Code in C# - Anti-Patterns for Performance
Most developers want the best possible performance from their code. Inspired by the idea of "proof by contradiction" this talk looks at how to write slow code and how the .NET platform, Windows and the processor will try and sabotage your efforts. A variety of techniques for inefficient coding will be covered including:
Flow control with Exceptions
Abusing Threads
Misuse of the Heap
It's one man against some of the brightest minds in Redmond, seeking an answer to the question "How Slow Can It Go?"
Being Lazy With Microsoft Windows Powershell
Microsoft PowerShell is a new command-line and script language that’s including with Windows Server 2008 and can be downloaded for Vista and XP.
Written in .NET and completely extensible PowerShell provides plenty of opportunities to be lazy by reusing the infrastructure in your own applications. This talk will demonstrate some ideas including:
* Controlling 3rd party tools and services from the command-prompt
* Providing an command-based administration interface for your application
* Allowing users to add functionality to your app using PowerShell as a scripting language
This talk assumes no previous knowledge of PowerShell, it will look at extending it with C# code and key concepts rather than being a PowerShell tutorial.
The command prompt has never been so exciting!
About Ben:
Ben's been writing business applications since the days of Visual Basic 2.0. Most recently using the .NET platform to develop trading systems for investment banks.