What do people think about the readability of this...
# codereview
d
What do people think about the readability of this snippet?
Copy code
stringList.foldRight( mutableListOf<String>(), { item, cur -> if(cur.isEmpty() && item.isEmpty()) { cur } else { cur.apply { cur.add(0, item) } } } )
I’d explain what it does but I feel like that would undermine my concerns about readability 🧌