-
-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functional way to write Sorting algorithm #79
Comments
@Panquesito7 @andreicioban I just found exciting repo, I've suggested some enhancements and can be this be considered as a hacktoberfest contributions? |
Hey there! Of course! I do not know Scala or maintain this repository except for cleanup and documentation, but of course, it can be considered for Hacktoberfest. 🙂 |
@Panquesito7 Any point of contact who can review my PR ? |
Hi, I'm not a maintainer, but could contribute. I agree with @Manupendra that the old sort implementations are in an imperative style. The the new implementations using a functional style are much more "Scala-like". |
Let me fix me that in my PR those typos and formats |
Hi @Panquesito7 would you mind accepting this PR from @Manupendra? |
I don't know anything about Scala, but if you think it's fine, we can merge it. 🙂 |
I can see the imperative code in sorting algorithm, I'm intending to add in functional way
for e.g. In MergeSort , I can see while loop which is an iterative approach -
Best Practice: In scala, we follow functional way to write it
I'll be creating a PR shortly to add functional code for sorting algorithm given in this repo.
The text was updated successfully, but these errors were encountered: