let’s use something else instead

Image for post
Image for post

if-else has been around since humanity first started coding. It is the core of our systems and conditional statements are crucial for program flow control.

wikipedia — ….conditional statements, conditional expressions and conditional constructs are features of a programming language, which perform different computations or actions depending on whether a programmer-specified boolean condition evaluates to true or false….selectively altering the control flow based on some condition.

Just one second, think about a simple if-else condition.
Just like when you want to explain it to someone new to coding.
Have something in mind? Sweet! let’s go

Your mind probably went to something like this (or at least a variation of…

and everyone enjoys a good old story…

Image for post
Image for post

Just recently I was hired to consult on a mobile application project.

An iOS application, written in Swift with at least a dozen different developers coding in. Commit, Push, PR, Review, Edit and Merge…you know the drill.

When you have a project as massive as this, resource reallocations and developer shifting are hard by itself. What makes it even harder and slows downs development is when a developer has to take on someone else’s work or fix a code someone else wrote.
Yes, we all faced it at some point.

Reading lines after lines of random alphanumeric characters trying to make sense of it all is pain-full, and yes all they are ‘random alphanumeric characters’ for someone who did not type it. …


Georges Jamous

Software Engineer & Consultant — ⚽️ 🐕 🍺

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store