﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Paul Hatcher commented on Application analysis: Northwind.NET</title><description>Best one I came across was a 30 x 40 report screen that used a SQL query for each cell - re-write reduced it to 6 queries ;-)</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment13</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment13</guid><pubDate>Mon, 16 Jan 2012 09:29:53 GMT</pubDate></item><item><title>Gian Maria commented on Application analysis: Northwind.NET</title><description>The problem quite often is the absense of Proof of Concepts, before starting to writing programs. The Idea to pass IQueryable to a binding could sound smart, but then you have to create a POC, test it, verify if it works good, and finally adopt throughout your project.

The other problem is lack of basis. If you find horrible having 17 queries for that screen, I've seen people that wrote this code to get the count of a table out of the db with EF.

return context.TableName.ToList().Count().

</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment12</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment12</guid><pubDate>Mon, 02 Jan 2012 09:03:20 GMT</pubDate></item><item><title>Mr_Simple commented on Application analysis: Northwind.NET</title><description>Was doing a tech interview with Mr. Tech and Mr. Manager the other day and Mr. Tech ask what do I think about TDD?  I said, oh I'm all about it!!

However, my experience has always been management isn't interested in writing 2 programs (test and actual program to be deployed), funding 2 programs, allocating time to write 2 programs, and finally maintaining 2 programs.  Then I turned right around and asked him what he thought about TDD and what was his experience.

He said his experience was identical to mine, so we moved along to the next question.  I'm still not sure why he bothered to ask the question.  He should know management is a bunch of idiots by now.

It's all a pipe dream folks.  Just like a wreck on the highway, move along now, because your boss and the customers could give a crap about your beautiful code.</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment11</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment11</guid><pubDate>Sun, 01 Jan 2012 00:42:41 GMT</pubDate></item><item><title>Christopher Bennage commented on Application analysis: Northwind.NET</title><description>I demand that you return my EFProf license back to me!</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment10</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment10</guid><pubDate>Sat, 31 Dec 2011 19:49:22 GMT</pubDate></item><item><title>John Farrell commented on Application analysis: Northwind.NET</title><description>Only 17?  Psh.

I've seen a "My First Nhibernate Code" project in production doing 3000 per screen.

My first day after being assigned to the project I loaded up NHProf and I found the performance problems in seconds.  </description><link>http://ayende.com/152705/application-analysis-northwind-net#comment9</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment9</guid><pubDate>Fri, 30 Dec 2011 16:10:00 GMT</pubDate></item><item><title>Jose Gonzalez commented on Application analysis: Northwind.NET</title><description>Daniel Lang and Wayne M hit spot on. This doesn't just apply to NH-queries. It's code quality overall. Managers and higher ups don't give a crap as long as it works and is delivered on time.  I'm currently 'maintaining' several small apps. When I get a chance I clean the code and pray nothing breaks. When I add new functionality, I create new classes instead of using the god class on each project. My boss doesn't care as long as everything works. 

I did get the chance to write a very small library as I pleased. I used TDD and clean code, and etc. Did I get pad in the back? Nope. Let's just say the library hasn't been used yet. I created it back in September :)</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment8</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment8</guid><pubDate>Fri, 30 Dec 2011 15:02:03 GMT</pubDate></item><item><title>Janus007 commented on Application analysis: Northwind.NET</title><description>I'm just plain tired of stupid people who misinterprets the word "developer" and mistakenly think of themselves as such.

Not everybody are able to think in the big picture and therefore the misinterpretators should find another way to earn for a living.</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment7</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment7</guid><pubDate>Fri, 30 Dec 2011 14:27:56 GMT</pubDate></item><item><title>f quednau commented on Application analysis: Northwind.NET</title><description>quality will start to matter even to your management when all you see from the competition is the dust settling of them speeding ahead with new features while you are drowning in regressions.</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment6</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment6</guid><pubDate>Fri, 30 Dec 2011 14:03:24 GMT</pubDate></item><item><title>Wayne M commented on Application analysis: Northwind.NET</title><description>Sadly Daniel Lang is spot-on.  I know it's demo code but it's true in every job I've had - neither the business, management nor the end users gave a care about the quality of the code and would gladly accept hastily-written garbage against DataSets with all the logic in code-behind files over taking the time to have proper abstractions using NHIbernate.

The sad reality is that quality just doesn't matter.</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment5</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment5</guid><pubDate>Fri, 30 Dec 2011 13:21:33 GMT</pubDate></item><item><title>Daniel Lang commented on Application analysis: Northwind.NET</title><description>I know a lot of applications that are much worse than that. It was hard for me to realize one thing: it doesn't matter. They're selling those pieces of crap without any trouble and the end-users never ask why it takes a whole second longer to render a screen as long as they can do what they want. 

It's very unfortunate but the reality is, that my beautifully hand-crafted NH-queries don't bring me anything but personal satisfaction.</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment4</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment4</guid><pubDate>Fri, 30 Dec 2011 13:14:54 GMT</pubDate></item><item><title>Hugo commented on Application analysis: Northwind.NET</title><description>I have seen far far far worse in production systems with similar screens. The worst one was 500 Queries for a screen like that. The system was doing eager loading of a whole object models and then filtering in the client.</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment3</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment3</guid><pubDate>Fri, 30 Dec 2011 12:22:20 GMT</pubDate></item><item><title>tobi commented on Application analysis: Northwind.NET</title><description>Databinding to entities is very rarely a good idea. This is really just a demo technique.</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment2</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment2</guid><pubDate>Fri, 30 Dec 2011 11:30:51 GMT</pubDate></item><item><title>Scooletz commented on Application analysis: Northwind.NET</title><description>From the project description: "The Northwind.NET site was created to develop and keep a set of sample applications demonstrating various modern technologies and development practices used within .NET Framework and Visual Studio 2008."

I know it hasn't been updated for a while... but come on. It should not be that kind of _quality_</description><link>http://ayende.com/152705/application-analysis-northwind-net#comment1</link><guid>http://ayende.com/152705/application-analysis-northwind-net#comment1</guid><pubDate>Fri, 30 Dec 2011 11:19:04 GMT</pubDate></item></channel></rss>