MVVM – This might hurt a little…

This is an attempt at a collaborative post; I’ll fill in more data if/when people make suggestions; please add comments on more problems and other/better solutions – I’ll add the links. Overall, MVVM is very attractive – but all the screen casts I’ve seen avoid some confusing pitfalls that you’ll come up against in the…

5

Be Paranoid. Be Very Paranoid.

Do you maintain an application with a backend database? Does that application ever write to the database? Be afraid. The worst situation to be in with respect to the above is when a customer mails you and says: “Why is my data gone?” 99% of the time, it’s because they clicked on the “Delete” button;…

2

On using Arrays

Eric Lippert has a great article on arrays: http://blogs.msdn.com/ericlippert/archive/2008/09/22/arrays-considered-somewhat-harmful.aspx   I think this is especially useful to consider if you’re writing an API. Consider not just arrays, but any time you’re returning any collection: Are you returning values or a variables? Did you mean to?   Avi

0

Creating Testable Applications Using the MVP Pattern

(The following post talks about ASP.NET, but it actually applies to all UI-based applications, web and non-web. PHP, WPF, Winforms, etc. It does not require a framework, nor anything to install – it’s just an interesting way to write your code such that it has a clear separation of concerns).   The Problem Your typical…

1

It’s all just a clock measuring contest…

Did you know that SBCL is now faster than Java, as fast as Ocaml, and getting better?! What does this mean for you? Most likely, nothing. They have various benchmarks that are used to measure the speed of a language implementation; and I think it’s a good thing – it keeps the implementers honest, and…

6

Can Software be Reliable?

Just read a post (permalink is broken) regarding how software engineering is nowhere near the level of quality as traditional engineering, partially because we don’t have standards, regulations, etc. While I agree with some of the argument, people often give too much credit to meatspace engineering when compared to software. You often get what you…

1

On Writing Safer APIs

Our team owns lots of smallish applications; all of them have a DB layer, an OM/API layer, logic and UI layers. What happens over time is that we have different people working on the same apps, switching between them over the course of time. This is great for cross-training, for support, for finding missed bugs,…

0