Skip to content
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

Add Micro Blog Exercise #649

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Conversation

tomasnorre
Copy link
Contributor

Have I misunderstood this exercise? Or is it really this simple? I didn't read any indications that build in functions wasn't allowed, but perhaps it should? Depends on the purpose of the exercise.

@mk-mxp
Copy link
Contributor

mk-mxp commented Feb 29, 2024

Have I misunderstood this exercise? Or is it really this simple?

Yes, it is. Some are really easy and simple, some are really hard.

I didn't read any indications that build in functions wasn't allowed, but perhaps it should? Depends on the purpose of the exercise.

Instructions say: The trick to this exercise is to use APIs designed around Unicode characters (codepoints) instead of Unicode codeunits. And that's mb_* instead of str* in PHP. If you know them, you're done. If you don't, you learn to know them with this exercise.

@mk-mxp mk-mxp added x:action/create Work on something from scratch x:knowledge/elementary Little Exercism knowledge required x:module/practice-exercise Work on Practice Exercises x:size/large Large amount of work x:rep/large Large amount of reputation labels Feb 29, 2024
Copy link
Contributor

@mk-mxp mk-mxp left a comment

Choose a reason for hiding this comment

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

Nice and straight forward. Did you need ChatGPT for that one, too? 😉 Thanks for contributing!

@mk-mxp mk-mxp merged commit 732d677 into exercism:main Feb 29, 2024
10 checks passed
@tomasnorre
Copy link
Contributor Author

Nice and straight forward. Did you need ChatGPT for that one, too? 😉 Thanks for contributing!

Haha. No :) Currently I use ChatGPT for generating the tests, and then I try to solve the exercise as TDD. I personally learn more from that. But for this one I managed without any help, and even did the tests without ChatCPT. ;)

@tomasnorre tomasnorre deleted the add-micro-blog-exercise branch February 29, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x:action/create Work on something from scratch x:knowledge/elementary Little Exercism knowledge required x:module/practice-exercise Work on Practice Exercises x:rep/large Large amount of reputation x:size/large Large amount of work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants