Sign in
Log inSign up
Sayuri Kamble

171 likes

·

4.4K reads

33 comments

Soham Parab
Soham Parab
Feb 23, 2021

Awesome work! Keep it uppppp!

3
·
·1 reply
Sayuri Kamble
Sayuri Kamble
Author
·Feb 23, 2021

Thank You So Much !

·
Suman Ghosh
Suman Ghosh
Feb 23, 2021

Great Job Sayuri. Keep writing !

2
·
·1 reply
Sayuri Kamble
Sayuri Kamble
Author
·Feb 23, 2021

Thank You! Means a lot

·
Gabriel RomayMachado (he/him)
Gabriel RomayMachado (he/him)
Apr 27, 2021

Hi! I love functional programming and your article is incredible!

Just a little feedback: I think that, on the 2nd code example ("Functional Way"), last line should be:console.log(message("Sayuri"));, right?

Just to be super clear to the reader about what pure functions look like :) the other examples are perfect

2
·
·1 reply
Sayuri Kamble
Sayuri Kamble
Author
·Apr 27, 2021

Thank You Gabriel RomayMachado (he/him) for those kind words. It made my day.

Thanks for pointing it out. Made the required changes.

2
·
Tanishq Singh Anand
Tanishq Singh Anand
Feb 24, 2021

OP man really helped a lot

1
·
·1 reply
Sayuri Kamble
Sayuri Kamble
Author
·Feb 24, 2021

Glad It Helped !

·
Soumyadeep Paul
Soumyadeep Paul
Feb 24, 2021

Amazing and very helpful for understanding the basics🔥🔥🔥

1
·
·1 reply
Sayuri Kamble
Sayuri Kamble
Author
·Feb 24, 2021

Thank You for that !

·
Deactivated User
Deactivated User
Deactivated User
Feb 28, 2021

Well written.!

1
·
Bello
Bello
Feb 23, 2021

You rocked this article. Keep it up! 👍

·
·1 reply
Sayuri Kamble
Sayuri Kamble
Author
·Feb 24, 2021

Means a lot. Thanks!

·
Rahul
Rahul
Feb 24, 2021

Cooool Article.

·
·1 reply
Sayuri Kamble
Sayuri Kamble
Author
·Feb 24, 2021

Thank You !

·
sudhanshu marimganti
sudhanshu marimganti
Feb 24, 2021

Hi great article! Whats "lang" in your immutation example?

·
·3 replies
Sayuri Kamble
Sayuri Kamble
Author
·Feb 24, 2021

We are iterating over our "code" array using map function. We have passed "lang" in the map function. Which in simplest words means that "lang" is items in the array.

So basically "lang" = "Javascript" , "Python" & "React" respectively as respective times.

let me know, if you need more clarification

·
sudhanshu marimganti
sudhanshu marimganti
Feb 24, 2021

Sayuri Kamble okay..actually it was "item" instead of lang..ok thanks for the reply!

1
·
Sayuri Kamble
Sayuri Kamble
Author
·Feb 24, 2021

sudhanshu marimganti Yes your observation was correct

·
Dash Santosh
Dash Santosh
Feb 24, 2021

Well done!

·
·1 reply
Sayuri Kamble
Sayuri Kamble
Author
·Feb 24, 2021

Thanks !

·
Sayuri Kamble
Sayuri Kamble
Author
·Feb 24, 2021

Hope you Found Value. If you did, then It would mean a world to me if could give this article a upvote : app.daily.dev/posts/lsRVzQJmr

·
Chety
Chety
Feb 24, 2021

In Mutation Bad section assignment operation must be done with index 1. Nice work by the way. const code= [ "Javascript", "Python", "React" ] code[ 1 ] = "Node"

·
·1 reply
Sayuri Kamble
Sayuri Kamble
Author
·Feb 24, 2021

Fixed it ! Nice Observation.

Thank You.

·
José Torres
José Torres
Feb 24, 2021

Good article! It makes me want to know more about functional programming. Thanks!

·
·1 reply
Sayuri Kamble
Sayuri Kamble
Author
·Feb 24, 2021

Glad you found value !

·
sumit kamble
sumit kamble
Feb 25, 2021

Liked the way of explaining mutability :)

·
Manigandan Ravi
Manigandan Ravi
Feb 28, 2021

Hey first of all good explanation. But I don't understand why we should not iterate using for or while loops. Why you prefer map, reduce, filter etc,.

·
·2 replies
Sayuri Kamble
Sayuri Kamble
Author
·Feb 28, 2021

That's one aspect of Functional Programming. Map, reduce, filter are all functions. Which are short and clean to read.

For / while loops are long and difficult to read and also a bit hectic.

Let me know if you need more clarification !

1
·
Manigandan Ravi
Manigandan Ravi
Feb 28, 2021

Got it thanks..!! Sayuri Kamble

·
Shubham Kumar
Shubham Kumar
Apr 27, 2021

Great work, Informative and helpful, keep it up

·
Lomesh Badhe
Lomesh Badhe
Jan 8, 2022

Mindblowing Article ! 🔥

·
·1 reply
Sayuri Kamble
Sayuri Kamble
Author
·Jan 8, 2022

Thank you!

·