Skip to content

Emojicode bubble sort implementation. #423

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

Merged
merged 3 commits into from
Oct 3, 2018
Merged

Conversation

june128
Copy link
Member

@june128 june128 commented Oct 3, 2018

Emojicode documentation and more: https://www.emojicode.org/

@june128 june128 added Implementation This provides an implementation for an algorithm. (Code and maybe md files are edited.) Hacktoberfest The label for all Hacktoberfest related things! labels Oct 3, 2018
@Butt4cak3
Copy link
Contributor

If it's emojicode, I will personally close the PR.

- Me during today's stream

I must admit: It's hard to resist the urge.

@thbwd
Copy link

thbwd commented Oct 3, 2018

First off, I think it’s great someone finally adds a real language to this project. 😉

You can, however, improve your code by taking advantage of that fact that lists are in fact iterable:

🔂 number numbers 🍇
   😀 🔡 number 10❗️❗️
🍉

is enough to print the list.

@leios
Copy link
Member

leios commented Oct 3, 2018

Feel free to review the code, if you want!

Copy link

@thbwd thbwd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything else looks fine 👍

🍨 1.7 -3.0 2.5 2.0 -6.0 4.4 50.0 7.0 1.5 -4.3 0.3 🍆 ➡️ numbers

😀 🔤unordered:🔤❗️
🔂 i 🆕⏩⏩ 0 🐔 numbers❗️❗️ 🍇
Copy link

@thbwd thbwd Oct 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’d recommend to change this to

🔂 number numbers 🍇
   😀 🔡 number 10❗️❗️
🍉

🛁🐇🥇 numbers❗️

😀 🔤ordered:🔤❗️
🔂 i 🆕⏩⏩ 0 🐔 numbers❗️❗️ 🍇
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

@june128
Copy link
Member Author

june128 commented Oct 3, 2018

@thbwd Thanks for the review! I applied the suggested changes.

@leios
Copy link
Member

leios commented Oct 3, 2018

If @thbwd approves, I also approve. Thanks for the review!

@leios leios merged commit c661ea4 into master Oct 3, 2018
@june128 june128 deleted the emojicode_bubble_sort branch October 4, 2018 21:01
kenpower pushed a commit to kenpower/algorithm-archive that referenced this pull request Oct 22, 2018
* Add emojicode to the editorconfig and "book.json".

* Add Emojicode Bubble Sort.

* Make use of the fact, that lists are iterable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest The label for all Hacktoberfest related things! Implementation This provides an implementation for an algorithm. (Code and maybe md files are edited.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants