‏إظهار الرسائل ذات التسميات Software development. إظهار كافة الرسائل
‏إظهار الرسائل ذات التسميات Software development. إظهار كافة الرسائل

الأحد، 23 يوليو 2023

IFS Algorithm

Have you ever tried to explain your code to someone? And once you are done, people look at you like “Oh! this is darn simple you stupid” but when you apply some sophisticated jargon people suddenly respect you and start wondering how did you do that what a prodigy!

People in tech always through jargons even for the most simple things even if they don’t know what it means and more miserable are those who know their work is not worth it so they try to make it look complex for the sake of getting respect and attention.

Based on that one we can have a cool name for the most simple solution of them all by using IF conditions everywhere and we shall call that solution “IFS Algorithm” to make people impressed by our approach believing it is complicated though it is the expected for any simple logic in computer science! 

To make it more sophisticated, here is a simple code for the IFS algorithm!

Here is an academic version as well.

This reminds me of the days when people thought JavaScript is only good via a framework and didn’t believe people could write code directly with plain JavaScript and build up from their so one developer created a website called http://vanilla-js.com/ to make plain JavaScript looks like a framework to make people believe in it. I believe the term Vanilla JavaScript came or popularized because of this website.


Credit goes for Hamzeh Abu Sahyoun for the idea of this blog.

الخميس، 25 مايو 2023

The "Family" Developer

 Many of you, if not all, know about the Fast and Furious movies and the cliche of the family where it become a world wide meme where people make fun of Dom Torreto character and the family thing.

Now as a software engineer I can see Dom almost everywhere in my career, you know that guy who always underestimate the work and when he gets in trouble he start asking for help saying words like "come on man it won't take 5 mins to deploy forget about testing" in a downplay tone thinking he's your friend so it's ok to do that since it's logical to him and he deserves to be covered up to look good in front of others. Will this guy is the "Family" developer.


Now such developers makes our life harder, why? Will you will say because they are not smart which is not right as some of them is aware he is wrong and kinda knows the right action so it's not about being smart. So what is? It's their disrespect to other's work and to the engineering culture inside the team and to the global community, I'm not trying here to over complicate things but trying to make things faster by downplaying others work and allow a path to mess things up is not ok and even if you have to you need to discuss your opinion with the other side and put a plan to avoid such things as much as you can (unless you have a bad management/business team then good luck lol).

At the end software engineers needs to be both exact and creative not reckless and oblivious like a mechanic so try to be that and stop missing around!


This article was published originally as a thought on my Tech Telegram Channel, follow me if you are interested.

السبت، 8 أبريل 2017

عبادة المعونات - Cargo Cult

Cargo Cult: مصطلح يدل على الأفعال المبنية على تقليد الآلات والمنشئات التابعة لها (بالتحديد الطائرات الحربية والمطارات) بشكل دقيق أملا في أن تمطر السماء بالمعونات!.

هذه الثقافة (إن صح وصفها بذلك) نتجت في الجزر النائية التي كانت في دائرة أرض ساحة المعركة للحرب العالمية الثانية والتي لم ير سكانها الأصليون أي زائر غريب عنهم من قبل, بدأت القصة مع الجيش الياباني ومعداته وانتهى بقوات الحلفاء حيث كان يقوم كل من الأطراف بإنشاء قواعد عسكرية ومن الطبيعي امداد هذه القواعد بالمواد الغذائية التي ترميها الطائرات (Cargos) وكان الجنود يشاركون بعض هذه المواد الغذائية وغيرها مع السكان الأصليين.

عند انتهاء الحرب غادرت القوات المتحاربة آخذة معها كل معداتها تاركة السكان المحليين ليعيشوا وحدهم من جديد لكن السكان كانوا بحاجة للمعونات الغذائية الهابطة من السماء فقاموا بتقليد كل ما كانوا يشاهدونه من قبل الجنود فصنعوا أبراج المراقبة من الخيزران والسماعات الخشبية بل قاموا بصنع مجسم لطائرة من الخيزران (كما في الصورة أدناه) أملا في أن تهبط المعونات الغذائية من السماء!
 
في زماننا الحديث يقوم بعض مطوري البرامج باستخدام مصطلح الـ"Cargo Culting" في دلالة على تقليد الحل ودمجه مع برمجيتك الحالية إلى أن تستوعب مدى أهميته لبرنامجك... عجيب!.



المراجع: