Choosing Wisely: for vs. forEach in Kotlin (A Thinking Dev’s Perspective)

The forEach loop, are you using it without thinking? In Kotlin, empirically forEach is often the go-to loop, it s pragmatically close at reach in the IDE auto-complete, but is it always the right choice? This Read more of Choosing Wisely: for vs. forEach in Kotlin (A Thinking Dev s Perspective) The post Choosing Wisely: for vs. forEach in Kotlin (A Thinking Dev’s Perspective) first appeared on…