You can continue reading this article or you can choose not to. Similarly, with variables you can have cases where there is a value or it may not have a value which in other words is nil. Optionals are not applicable to all scenarios. To understand this better, read on…
Come across a task in an Interview or a website that challenges you to this. The thing that intrigues me is a good challenge (and many a times I do struggle with it, I am no Genius) However it is still worth a try.
The long discussion on is Code an Art or a Science will continue for years to come because there will always be two sides to it and I am not attempting to join or fuel that discussion. However, I feel that in my lifetime I have been lucky to get exposure to a whole lot […]
I love Swift for a couple of reasons of which one is clean and readable code. As an advocate of simple to read code and using functions available with the system I prefer to work with simpler code and one that would be provided by the system.
It’s more than a year since the watch was released, however I bit the bullet and got my hands onto (or rather a watch on my hand). While I can write about how useful the watch is or how can we use it effectively, this article is all about developing for the […]
Swift is gaining popularity with Developers and as companies are considering Swift for their projects. Over a period since the publication of my Swift book (at Swift v1.2) there are many that keep up to date with the new features in Swift and there are those that are now considering the move to Swift or […]
The last article was written around September 2015 and a lot has happened in the world of Swift since then including my world (both of which are for another time/article). However in the last couple of months I have been interviewing developers to work with us and the interesting fact that emerges from the technical […]
How do you convert Binary String to it’s Integer Value? There are many approaches to convert Binary strings to Integers. One approach could be to iterate through all of the characters in the string and add the value of 2 raised to the power of the index.
It would be nearly a year since Swift was announced by Apple. It soon became the language of choice for many developers. It is one of the fastest adopted programming language till date. Not only that, it also has one of the largest repository of source code using Swift. Here’s a look at both sides […]
WWDC 2015 had some interesting announcements and the biggest and most applicable / important announcement is that Swift is now 2.0 and going to be Open Source and be available for Linux. Since swift can be used for REPL, it could be used as an alternative for writing and executing scripts (on Linux type distros). […]