Navigate / search

How To Write Unmaintainable Code

  • Use “asd” or a,b,c as variable names.
  • Use acronyms.
  • Use an alternate vocabulary to refer to the same action, e.g. display, show, present.
  • Randomly capitalize a letter in the middle of a word (e.g. ComputeRasterHistoGram()).
  • Use Ã…ccented characters (e.g. typedef struct { int i;  ínt;} where the second ínt’s í is actually i-acute.
  • Use foreign language dictionaries as a source for variable names.
  • Choose variable names with irrelevant emotional connotation (e.g.: marypoppins = (superman + starship) / god;). #nosense!!
  • Use lower case L to indicate long constants. e.g. 10l mistaken for 101.
  • Consider variant spellings as a variant on the ploy, e.g. mixing International colour, with American color and dude-speak kulerz. If you spell out names in full, there is only one possible way to spell each name.
  • Use misleading names for methods (e.g. a method named isValid(x) should as a side effect convert x to binary and store the result in a database).
I love this article.. #soevil xD

يا جبل مايهزك ريح!!

ما همني القـال و القيـل
لأن البشر حتى الميت ما يرحمونه !!
ما يدرون انهم مجرد ارواح و تندفن
لا عاد تثق بأحد
لأن حتى روحـك رح تخونك
تخرج منك و تبقيك في المقـابر
و تبقى بين الاموات و لسـان البشر
اترك النـاس تتكلم عنك
عسى بكلاهم تعيش بين الملَك
و هم يعيشون
بين فلان قـال و فعـل
و خليهم مثل الريح
ما يقدرون يهزون جبـل

Post-Banicon (thanks)

Hello everyone 🙂

How are you guys after yesterday’s madness? I know and the rest of the organizers/volunteers are beat and most likely sleeping all day!

First of all, I’d like to express my gratitude to “Whisper’s Corner” for sponsoring the event, if it wasn’t for them, this wouldn’t happen.

Second of all, I’d like to give a big thanks to my friends who came all the way from KSA just to sponsor our gaming section; V7 guys (Voltage 7)! Thanks guys, I really wish you guys the best of luck <3

Also, I’d like to thank the people from MEFCC for their support and appearance. You guys better attend their event later this year! You’ll miss a lot if you don’t!

Thank you Mr. Qais for attending and sharing your wonderful experience, also wishing you best of luck! P.S. Can’t wait to read vol. 2 of “Gold Ring” 😉

Thanks to Mr. Baraa for throwing his voice out, thanks to Mr. Yacoub for his time, thanks to Al-Jawhara people for their awesome manga whishing them the best of luck in their project!

A special thanks go to the organizers and volunteers who did this with me just to make my dream come true, and they wished nothing in return! Thank you Ahmed Al-Kooheji, Isa Al-Shamsi, Mohammed Ahmed, Khalid Ismaeel, Marwan Al-Zahrani; Thank you Essa Al-Seesi, Rashid Al-Buainain, Rashid Al-Sulaity, Yasmeen Al-Sinan, Nadeine Al-Maskati, Mishal Nassim, Abdulrahman Farooq, Omar Alireza, Akbar Khan, Ebrahim Al-Khan, Omar Al-Shomily, Mohammed Isa, Ahmed Ali, Mohammed Abdulhameed 🙂 Love you guys <3

Last but not least, a huge shout out to you guys.. for everyone who attended, from people who traveled all the way from Kuwait, Qatar, UAE & KSA, especially those who were stuck at traffic at King Fahad bridge for hours, and to those who attended no matter what. If it wasn’t for you guys as well, this thing would fall down. Thank you very much.

Though we faced some technical problems with the networking for the PS3s and the schedule got messed up somehow, it was a nice experience and I learned a lot from it 🙂 And personally, I think it went well for a first event! Especially that we were individuals, without any event management background!

Now, I don’t claim perfection, but we learn from our mistakes. This is all what life is about. You don’t expect it to go as you wish or as planned. Something somewhere will fall and break, and you’ll have to find either a solution or a back-up plan, or else, you’ll have to cope with it.

As some of you know, my real objective of Banicon was to introduce anime conventions to Bahrain, as promised 4 years ago. And I kept postponing the event one year after the other as I kept getting stuck in the middle due to some governmental issues. Until I met the right people that were meant to help me with this 🙂

Though, I wanted everyone to have fun and enjoy it, the fact is, it is difficult (actually, impossible!) to please everyone. And I’m still not sure 100% that I’d do Banicon again, I mean, c’mon! I just finished from the first yesterday! 😛 But if I got enough support and resources, I might 😉 (no promises though!) Besides, I just finished from the first, so don’t even ask about the 2nd xD (now I know how mothers with new born baby feel when they’re asked to ‘bring’ a sibling to the baby!!!!).

I really don’t know what else to say, all of this was a very interesting -yet tiring!- experience. It was overwhelming. I like to see people have smiles on their faces. I want everyone to be happy. So, I apologize for anything that upset you in the event, and I hope I can compensate at the next – if there was one ;P

Take care and have a nice day! *^-^*

Love is..

I stumbled upon an interesting article, talking about “love”. Now, how many of you wanted to know if they were in love or not? Maybe it was just physical attraction? Or at least just a simple crush? Well, here is the interesting answer 🙂

==========
“I thought necessary for some reason today to write about love. Many say that love is blind. Many say that love is painful, that he or she that loves gives everything up for the loved one and cries for the loved one. Others believe in a more passionate kind of love, with a lot of physical attraction and sex. Love may also become something you’re used to or settle for. But in reality, what is love? What is it? Is it this which I have described? Every couple is different. It would be difficult to identify who is in love for real. There is no definition or certainty. If there was, divorce wouldn’t exist. I ask myself, what is love?
In my life, I have experienced several kinds of love, but for a period of time I thought that I only loved when I suffered. Now I feel so different. I think that you only love once, and that is when you find the right person. Most of us settle with less than what we need or deserve. I have dreamt a thousand times of the man I want to be with. Only pieces of him have been granted to me. Every single relationship I’ve had has something my dream man has. It’s sort of like someone who needs a good Dominican meal. You need rice, beans, meat, salad and fried plantains. I have had each separately and I’m never full. I’m starving, hahaha. I think that love more than anything should be easy, it should come easy, without a lot of effort, without having to work hard to please the significant other, or make them think that we are what we are not. It’s necessary the interest and understanding of both parties, not have everything in common, but understand each other and have what the other needs in a partner. Maybe I should write a book about love. Too many thoughts come to mind that would take a long time to edit, and probably no one would want to read such an enormous speech. But in reality, can we really define love?”