"We human being, always find a solution, maybe not today, but if you really want to solve a problem, there’s always a way" – Ma Yun @ Stanford, 2013
Monthly Archives: June 2017

Five rule of thumb for a backend developer

by Md Imran Hasan Hira
Five rules of thumb for a backend developer, so that your peer can live a happy life.
  1. The name populate_data() doesn’t help much. The first question comes up to mind – What kind of data? So if there is name for your data, use that, instead of just data.
  2. Instead of warning fixed or bug fix, please write at least an oneliner of what warning you fixed.
  3. And then, instead of just fixed the warning, include the actual full error/warning message from stacktrace at the end of commit message.
  4. The names process() / execute() / handle() is ok in case of library/framework methods. But for general purpose, please specify what you are processing/executing/handling. For example process_million_dolar_payment() / execute_superman_command() / handle_http_request() …etc. At least try to use longer if you can. It helps with fewer grep results.
  5. Don’t have any on top of my head now :p

How to keep your brainchild alive

by Md Imran Hasan Hira

This note is about maintaining a system, putting much effort, growing it like your baby and then doing (or not doing) something that will let your brainchild die.

Reasons that make a kid dead

I found several common causes that can contribute to make a system dying –

  • Writing complex code – I have to say the obvious truth, Complex Code is hard to understand. Creating a new domain to solve an existing domain, may need rethinking.
  • Not enough training/education – If you haven’t educate other people about your system and there aren’t enough interested people with knowledge to maintain the system, it’s hard to continue.
  • Hacking without healing – Hacking is good, but if we don’t clean the patch ( as part of homework ), future patches on top of existing one, will create cavity into the system. Hack & Improve is better than Hack & Forget.

Now, if we see these as problem, we can find a way the fix them. One important part is to have enough educated people. To get people to jump in, we have to spread the knowledge among other developers. And that’s the hardest part.

Preparing new parents for your brainchild

How does a developer feel interest on a item / project ?

  1. Because it’s on the backlog
  2. It looks promising on the business outcome
  3. It looks super cool and challenging
  4. Wow, this helps other peers ( as well as humanity )
  5. ……etc.

How can we attract other parents, if the business logic is too complex?

Building the solution with one man army is not a scalable process. Old commanders will eventually retire one day ( 🙁 ). Newer soldiers will join the force. So the system need to be simple enough for those people to start with, to get into the system. Or, or, or, at least tasty enough to be allured.

Finding solution for complex business problems isn’t easy. Also, “easy” is a relative term. For a community, it depends upon average level of agreement  of complexity. It depends upon culture, depends upon way of working.  And then there are wars between tabs vs spaces , roles vs flat duplicates, subclasses vs copy/pastes, one liners vs details,  inline brackets vs newline brackets, ……………….endless. While we can’t agree on all of them, we can communicate and enhance our perception towards these, which in turn might help in agreement between concepts.

I myself, don’t know the best solution to attract new parent for a brainchild, and this also depends upon specifics. But these are my thoughts to remember while building a new system.

Finally, I think it’s all about being updated. Being updated with the styles, experiences, best practices. May be including the explorations of new generation trends, and if they fit, embracing them, if they don’t, fighting against them. Happy fighting and saving all kids 🙂

( In a mission of saving all the kids, Because we can, and we will )
Imran Hira


Let’s go the Sun

by Md Imran Hasan Hira

Electrical And Computer engineering building
: Mom, where are we going?
: To the Sun.
: But, it’s too hot there.
: Yeah, it’s also much brighter there.
: Mom, why do all people go to the Sun ?
: Because, that’s where we are supposed to go.
: What will happen if we can’t reach there ?
: Then we will lose.
: What will happen if we lose ?
: We won’t be able to see the things that other people saw already.
: Why do we need to see them ?
: Hmm, that’s a nice question. You have become mischievous these days 🙂 I don’t know the answer yet.
: Ok. Can’t we go to the Moon ?
: Moon will appear soon, we will go there as well.

( The photo is taken in front of Electrical & Computer building, BUET on January 3, 2013 )


Theme by Ali Han | Copyright 2025 Md Imran Hasan Hira | Powered by WordPress