Monday, September 30, 2013

Recipe for a Rockstar Team

Following blogpost talks about the myth of a rockstar-programmer, and the reality of a rockstar-team.

http://www.hanselman.com/blog/TheMythOfTheRockstarProgrammer.aspx
In fact, it's diversity of thought and experience in a team that makes a Rockstar Team - that's what you really want. Put thoughtful and experience architects with enthusiastic and positive engineers who are learning and you'll get something.  If you insist on calling someone a rockstar, they are likely the team's teacher and mentor.
Jon Galloway says: 
Pairing "step back and think" devs with "crank a lot of pretty good code out" devs is a recipe for a good team.

Sunday, September 8, 2013

50 Useful Plugins for Bootstrap

Cloud & Azure Glossary

Responsive Design - Waste of Time ?

http://simpleprogrammer.com/2013/09/03/responsive-design-waste-time/
...
It seems to me, that if you have to have your site display differently on a mobile device you are better off just forgetting about trying to reuse the HTML markup and CSS, and instead focus on reusing the backend code for both the mobile and desktop versions of your site; that is where you’ll actually get the biggest bang for your buck.
... I’d much rather maintain two front end codebases that are simple than one monstrous complicated front end codebase. 


Sunday, September 1, 2013

Do you fix bugs before writing new code?

           From: "The Joel Test: 12 Steps to Better Code " 
          - http://www.joelonsoftware.com/articles/fog0000000043.html
5. Do you fix bugs before writing new code? 
The very first version of Microsoft Word for Windows was considered a "death march" project. It took forever. It kept slipping. The whole team was working ridiculous hours, the project was delayed again, and again, and again, and the stress was incredible. When the dang thing finally shipped, years late, Microsoft sent the whole team off to Cancun for a vacation, then sat down for some serious soul-searching.
What they realized was that the project managers had been so insistent on keeping to the "schedule" that programmers simply rushed through the coding process, writing extremely bad code, because the bug fixing phase was not a part of the formal schedule. There was no attempt to keep the bug-count down. Quite the opposite. The story goes that one programmer, who had to write the code to calculate the height of a line of text, simply wrote "return 12;" and waited for the bug report to come in about how his function is not always correct. The schedule was merely a checklist of features waiting to be turned into bugs. In the post-mortem, this was referred to as "infinite defects methodology".
To correct the problem, Microsoft universally adopted something called a "zero defects methodology". Many of the programmers in the company giggled, since it sounded like management thought they could reduce the bug count by executive fiat. Actually, "zero defects" meant that at any given time, the highest priority is to eliminate bugs before writing any new code. Here's why.
          ....
That's one reason to fix bugs right away: because it takes less time. There's another reason, which relates to the fact that it's easier to predict how long it will take to write new code than to fix an existing bug.
          ....
What this means is that if you have a schedule with a lot of bugs remaining to be fixed, the schedule is unreliable. But if you've fixed all the known bugs, and all that's left is new code, then your schedule will be stunningly more accurate. 
Another great thing about keeping the bug count at zero is that you can respond much faster to competition. Some programmers think of this as keeping the product ready to ship at all times. Then if your competitor introduces a killer new feature that is stealing your customers, you can implement just that feature and ship on the spot, without having to fix a large number of accumulated bugs. 
 Link to full article: 
          The Joel Test: 12 Steps to Better Code :
          (Please see  #5 -  Do you fix bugs before writing new code?)

Comments in Code

http://ayende.com/blog/163297/the-importance-of-comments
The "why" is usually part of the context, which is what I sometimes need to explain with comments.

Sprite Animation example

Popularity of different frameworks - ASP.Net, ASP.Net MVC, J2EE, Ruby on Rails etc

Followers

Blog Archive