.NET 3.5 SP1: Changes Overview (3)
share
digg
by
Patrick Smacchia (7)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 week
ago
permalink
For the curious, here are some informations about the brand new .NET 3.5 SP1 changes, compared to .NET 3.5. These results were obtained with the assembly comparison feature of the tool NDepend. Summary:# Assemblies 112# Namespaces 919 to 935 (+16 +1.7%)# Types 39 988 to 40 513 (+525 +1.3%)# Methods 387 421 to 386 790 (-631 -0.2%)# Fields 241 567 to 246 795 (+5 228 +2.2%)# IL instructions 8 598 933 to 8 620 940 ...
Why Developers Are Interested in REST (1)
share
digg
by
james.kovacs (4)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 week, 6 days
ago
permalink
I'm doing some WCF work for a client, specifically around WS-Security. I stumbled upon the System.ServiceModel.MessageSecurityVersion class today. Its static properties alone should explain why developers are craving simpler technologies like REST... WSSecurity10WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10 WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10 WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12 WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10 WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11 WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10
Rules for Spartan Programmers (2)
share
digg
by
Patrick Smacchia (7)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
2 weeks, 1 day
ago
permalink
A month ago, Jeff Atwood (Coding Horror) wrote a blog post about Spartan Programming. The idea is to tend toward minimalism coding style: Minimalism isn't always the right choice, but it's rarely the wrong choice. I figured out that many of Spartan Programming tenets can be expressed as CQL rules: Horizontal complexity. The depth of nesting of control structures. WARN IF Count > 0 IN SELECT METHODS WHERE ILNestingDepth > 3 Vertical complexity. The number ...
Learn XHtml and CSS from the pros (1)
share
digg
by
Jeffrey Palermo (4)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
4 weeks, 1 day
ago
permalink
We (Headspring Systems) are a client of PSD2HTML. We have a designer, but we have found it more cost-effective to have PSD2HTML take our initial UI designs and create XHtml and CSS out of them. From there, we will add these screens to the custom web application we are building. PSD2HTML has several examples showing how a design is converted into XHtml and CSS. You can examine all the code on their examples page. It's ...
T4 Templates for Code Generation Screencast (2)
share
digg
by
David Hayden (0)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
4 weeks, 1 day
ago
permalink
I put together a quick screencast showing how to leverage T4 Templates in Visual Studio 2008 for Code Generation: T4 Templates in Visual Studio for Code Generation Screencast I show step-by-step how to create a simple T4 Template and then how to generate various Entity, Data Access Object, and Factory Classes using more advanced T4 Templates that one might use to create a simple custom data access layer. I have seen other screencasts that have ...
Foundations of Programming - Learning Application (3)
share
digg
by
karl (27)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 month
ago
permalink
If you're anything like me, you probably learn a lot better by going through code rather than reading books. I'm happy to release the Foundations of Programming Learning Application - it's a complete solution meant to show what was covered in the Foundations series. It's a Visual Studio 2008 solution. You can download it here. It should require no configuration (my fingers are crossed on that one) and ought to just run out of the ...
-
D. Lambert said:
I haven't downloaded this (yet), but if it does what it says it does, it'll be pretty cool.
Recursing into List Processing (1)
share
digg
by
Matthew.Podwysocki (0)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 month
ago
permalink
Lately I've been getting back to basics with regards to recursion. This is a basic and essential skill, especially in the functional programming world. Today's dive will be into immutable lists and recursion. I'll do my best to provide the F# and C# equivalent to each call. This is in part of the back to basics and from here I'll move onto other subjects. Let's catch up to where we are today: Part 1 - ...
Me + MEF = A new beginning (1)
share
digg
by
Glenn Block (0)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 month
ago
permalink
About three months ago, we were on the heels of shipping Prism (Composite Application Guidance). At that time, I went to Don Smith my then manager ecstatically and said "Man I just love being in p&p, this is amazing". What I meant is that I love the work we are doing, I love the way we listen to customers, I love our ability to shift our direction based on what we are hearing and I ...
Learning Erlang - Erlang Gaining Momentum (1)
share
digg
by
Matthew.Podwysocki (0)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 month
ago
permalink
You may have noticed that I've been talking a bit about concurrency and Erlang recently. I've started to notice that others are taking notice and giving Erlang another look. I've been a fan of the language for a while, although it is a functional language ala a Haskell, OCaml, F# and so on, it's key strengths doesn't come necessarily from that, but from how it handles concurrency. I'm really fond of the language succinctness and ...
Announcing the .NET Extension Library - Karl Seguin (2)
share
digg
by
karl (27)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 month
ago
permalink
285 days ago I blogged about my dislike for extension methods. Extension methods aren't very discoverable, and they can lead to poor communication (between members of a team, from project to project, and between a developer and the code he or she is trying to read). I still think extension methods have serious shortcoming, but I've soften my view on them quite a bit. I don't know what changed, maybe it was my extended foray ...
Aspects of Functional Programming in C# Presentation and Code (4)
share
digg
by
Matthew.Podwysocki (0)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 month, 1 week
ago
permalink
As noted before, I was scheduled to give a presentation on Aspects of Functional Programming in C# 3.0 yesterday at the Rockville .NET User Group (RockNUG). Unfortunately, before the presentations were to commence, the power went out and the event was scrapped for the evening. Instead, the intention is to reconvene next month at the same time to present again. So, I expect I'll be there once again the same time next month. In the ...
Doctors We Ain't (1)
share
digg
by
Dave Laribee (4)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 month, 1 week
ago
permalink
Time for a little bit of a rant. In a recent post, Jeffery Palermo paraphrases an analogy made by David Platt on a recent episode of the .NET Rocks podcast: In software, we can't expect our clients to know what they need. Much like the depth of a patient may be "I need to get rid of this infection" or "Give me some pills. I'm in pain". Our clients know what is causing them pain, ...
Classes that show up in every project (1)
share
digg
by
Jeremy D. Miller (4)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 month, 1 week
ago
permalink
Just out of whimsy, here's my list of classes or interfaces that seem to show up in every project I work on. Bootstrapper - sets up StructureMap and whatever UI machinery. I formalized this in StructureMap 2.5 for diagnostic purposes.Debugging - Just a test fixture marked as explicit for playing with little bits of code and troubleshooting ObjectMother and/or DataMother (Test Data Builder ala Nat Pryce) TestUtility - Usually just a quickie way to run ...
Super Models, Part 2: Avoid Mutators (1)
share
digg
by
Dave Laribee (4)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 month, 1 week
ago
permalink
A quick disclaimer: we're entering religious territory here. I feel strongly about this issue, but it's certainly my opinion. If you want to get the full sense of how passionate people are about this issue, check out this article at JavaWorld. I've come to the point of view that Entities should not use set mutators ("setters"). Anything you represent as a setter can usually be better represented as a plain old method. Why? Let's remember ...
How does design get done on an Agile Project? (1)
share
digg
by
Jeremy D. Miller (4)
on
CodeBetter.Com - Stuff you need to Code Better! (17)
1 month, 2 weeks
ago
permalink
Last week I gave a talk at Agile Austin entitled “How does design get done on an Agile Project?” The slide deck can be downloaded here, and, thanks to Chad Myers, you can watch the video feed on Viddler. (There is content in there after I get done being hamhanded with the A/V stuff). Major points and questions: What do you mean there isn’t an Architecture Phase? When does design get done? All the time. ...