🇵🇸 Call for a #CeasefireNOW 🇵🇸

Act Now

Beware of Static Constructors

In Bunian we needed to use a static constructor for some reason, it was all going good; we tested the code and it ran smoothly…excellent (Code Coverage anyone?!). But when I came across this situation, it appeared that the static constructor wasn’t invoked!even when “Class.Method();” is called! so lets examine it. I have two simple classes as an Example: public class Parent { public static string DoSomething() { return “Parent: DoSomething() called”; } } public class Child : Parent { ...

February 6, 2009 Â· Emad Alashi

Get On With It!

When we started gathering requirements from the charity organizations for Bunian, it appeared that there are other kinds of people who benefit from the charity organization; there are “needy families” whose father is still alive but can’t sustain their families, and “students” who can’t afford their study. So Bunian needs to support all these Beneficiaries in smart way; we solved the problem by creating the IBeneficiary interface. But the problem is that in order to get out with the best solution ever (damn perfectionism!), we kept coming up with different solutions, and overriding them with other solutions every once in a while, and this kept going like forever! ...

January 16, 2009 Â· Emad Alashi

Importance of Documentation

 Lately we have decided in Bunian to move on to NHibernate 2.0, and the contributor assigned to the move started out, only to send an email one day after: “THERE IS NO DOCUMENTATION!’. We had errors as a result to the move which couldn’t be fixed without a documentation explaining why this happened. After searching for a while, we found two resources of the new documentation: a wiki help that is hosted on Google Knol: http://knol.google.com/k/fabio-maulo/-/1nr4enxv3dpeq/21# Not really appealing to be used extensively; no smooth flow between chapters, frames dazzle the eyes, no table of contents, but surely a great step forward for a documentation that is maintained by the community ...

December 26, 2008 Â· Emad Alashi