DEV Community

Cover image for Learn Accumulator Pattern before you regret it | Fold vs reduce | KnowYourKotlin
Chetan garg
Chetan garg

Posted on • Updated on • Originally published at chetangupta.net

Learn Accumulator Pattern before you regret it | Fold vs reduce | KnowYourKotlin

Hi #androidDevs, This is Androidbites where I try to break down a small concept into an understandable code snippet and share my learning experience with it.

hope you having a great Thursday morning! And you all are safe in Corona time and keeping your sanity 🤪 in check. Today snippet we are touching a pattern that every developer uses in their daily jobs called the accumulator pattern.

accumulated

to know more about it and it's limitations I will strongly suggest to go through the article

👉 AndroidBites|Reduce Vs Fold

Hope to see you on the other side...

Until next time. Happy Hacking! 👩‍💻

Stalk Me 👀 :
LinkedIn | Medium | Twitter | StackOverflow | CodeWars |WorkX |Github |Instagram |Youtube

Top comments (0)