-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
Conversation
- Me during today's stream I must admit: It's hard to resist the urge. |
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:
is enough to print the list. |
Feel free to review the code, if you want! |
There was a problem hiding this 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❗️❗️ 🍇 |
There was a problem hiding this comment.
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❗️❗️ 🍇 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
@thbwd Thanks for the review! I applied the suggested changes. |
If @thbwd approves, I also approve. Thanks for the review! |
* Add emojicode to the editorconfig and "book.json". * Add Emojicode Bubble Sort. * Make use of the fact, that lists are iterable.
Emojicode documentation and more: https://www.emojicode.org/