As software engineers, we’re always concerned about technical stuff and always tend to implement code with great architecture and with a very high performance. Some of these engineers are aware of how to do so by working on the different phases of software development lifecycle, but many more -always due to their enthusiasm of accomplishing the goal- dive directly into coding, trying to deliver the best quality in less time. Actually this is most common in software development industry; they think that by diving into code directly this would save a lot of time and make them deliver earlier.
As iOS Software Engineer, i’ve been always looking to have a checklist to check against my code.Most of Software Engineers are usually interested in writing clean code that is working fine, meeting requirements and also easy to understand and maintain. So i thought about creating a basic iOS checklist and let the iOS developers community enhance it so we can have a great checklist common for all iOS Apps. …
The word “Optional” by definition means available to be chosen, but not obligatory.
What does this mean in programming?
In programming languages and type theory, an option type or maybe type is a polymorphic type that represents encapsulation of an optional value; e.g., it is used as the return type of functions which may or may not return a meaningful value when they are applied.
So the question that comes to mind is What is Swift Optional? Is it a concept, behavior or something else? The answer is that it’s a data type!
Let’s read this line of code
iOS Team Lead