Brag Sheet/Feedback Journal Prompt: What's been a success this week (or month, or so far this year)?

This is your reminder to make the invisible visible!

:white_question_mark: What is your success for the week, month, or year?

Take time to document it somewhere. I need to do the same, so I’m right there with you.

Feel free to post in this thread, or just take the time to do it and keep it private. Totally your option.

Here’s mine if anyone needs inspiration or direction.

1 Like

I discovered and started using R strings. They are to C++ what the Python ‘r’ literal strings are, in that they let you write regular expressions and things like paths without having to escape or double-escape. I also found out that CMAKE also uses R strings, but call it double-bracketing, again a necessity when building strings that may have to have escape characters which end up conflicting with what you are trying to accomplish.

Example to embed a text file with all the quotes suddenly gets really easy:

std::string text = R"({"array":["one","two","three"],"boolean":true,"null":null,"number":123,"float":543.678,"string":"Hello Json"})";

but really wonderful when you have to write

std::string path = "C:\\users\\username\\AppData\\MyApp\\cache\\chace1\\data0001";

…which is very clipboard unfriendly, all those backslashes are ugly. Yes I know you can unixify them, but they are still ugly. Yes you need to be using a modern compiler, and I love R Strings.

1 Like

Also, if you haven’t checked out @cassandrahl talk How to make your work - and achievements - more visible”, do check it out! It’s a really good guide!

2 Likes