Skip to content

Strings concept#458

Merged
colinleach merged 3 commits intoexercism:mainfrom
colinleach:strings
Feb 27, 2026
Merged

Strings concept#458
colinleach merged 3 commits intoexercism:mainfrom
colinleach:strings

Conversation

@colinleach
Copy link
Contributor

Incomplete draft at this stage. The intro is blank, and the links much too short.

Putting this draft together has been educational, but also very slow and a bit tedious. There was no earlier draft to work from, because I really wanted the stringr library to be added to the test runner first.

I`m assuming we'll use Log Levels again. I'll try to get that done in the next few days (there is a draft), then we can copy that Intro back to the concept.

Currently, this missing concept is a big road block in the middle of the syllabus. Getting it done will allow Nothingness, Randomness and Regular Expressions to have it as a direct prereq.

You'll notice some fudging around Lists, which are an important return type for several of the string functions. I don't think we can reasonably delay discussing strings until after the Lists concept.

@colinleach
Copy link
Contributor Author

Yay!! It isn't running all the exercises, which shaves about 30 minutes off each commit.

Copy link
Contributor

@depial depial left a comment

Choose a reason for hiding this comment

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

This is looking good! I can see why it took some time to put together 😅

@colinleach
Copy link
Contributor Author

Thanks for the comments. I'll make some fixes, then cut it down (hard pruning!) for the exercise introduction.

@colinleach colinleach mentioned this pull request Feb 27, 2026
36 tasks
Copy link
Contributor

@depial depial left a comment

Choose a reason for hiding this comment

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

I know this is still "Draft", but I suppose this just needs the introduction, so I'll approve as that already exists in the exercise.

@colinleach
Copy link
Contributor Author

Yes, I just copied over the Intro, now I'm extending the links. I'll push in a few minutes.

@colinleach colinleach marked this pull request as ready for review February 27, 2026 22:32
@colinleach colinleach merged commit de33c8e into exercism:main Feb 27, 2026
2 checks passed
@colinleach
Copy link
Contributor Author

Looking good. I just completed the exercise (both versions) on the website.

That's 12 concepts now visible, even if they don't quite join up yet. I've started on Factory Sensors, for the Errors concept. I still need to go back to Switch and see if Blackjack is still the best exercise to use.

@depial
Copy link
Contributor

depial commented Feb 27, 2026

I do have to say that the use of lists as return objects in Base R is... frustrating. But as you said it's not really reasonable to put strings after lists.

@colinleach
Copy link
Contributor Author

the use of lists as return objects in Base R is... frustrating

At this early stage, yes. I think (hope) it will make more sense as we get to more complex structures. Everything is a vector, but not everything is an atomic vector.

@colinleach
Copy link
Contributor Author

12 concepts now visible

Logically, I should now add a Regex concept. However, I'm feeling a bit overdosed on string functions, and need a washout period before I look at them again. An act of self-care!

@colinleach colinleach deleted the strings branch February 27, 2026 23:10
@depial
Copy link
Contributor

depial commented Feb 27, 2026

An act of self-care!

Fully understandable! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants