الأحد، 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.