Not deprecated

«In Kotlin, loops are deprecated.»  That’s the title picked by Luc-Antoine Girardin. Of course they are not, in fact he starts the article with

Well… That’s not entirely true. It would not make sense to actually deprecate them as loops have been a part of programming for decades…

They reality is that programming language that offers closoures have better ways to solve most of the use cases of loops. Easier to read and understand, hence easier to debug and more robust.

If you know how to use closoures…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.