007_strings2.zig - highlight to student that they must not use comments for multi line
As a developer who writes allot of // my brain didn't compute the idea of it being around the other way. I spent a good 10 min on this until I slowed down and actually read. Potentially not a PR worth merging but maybe?
@falconmick Right, I see what you mean. My only concerns are:
- Zig's exact error message may change.
- I'm not sure "forward slash" would be universally understood (although that's what I call them too).
Do you think you could re-word it to mention an error without the exact wording and contrast the right and wrong character sequence ("\ instead of //")? Thanks!
P.S. Sorry it took so long to get back to you.
Hey! When I get a chance I will have a go but even though English is my first and only language you'd sometimes find that hard to know!
Maybe somthing along the lines of a if your having troubles try this kinda section at the bottom which could let the student know that sometimes people get their slashes around the wrong way.
Yeah, maybe something like this at the bottom: "Still getting errors? Check your slashes. Remember that '\' are strings, '//' are comments."
Something like that.
If you update your commit, I'll be happy to merge.
@falconmick Hey just checking in - would you still like to add the message to this exercise?
I really don't think that's necessary, it destroys the exercise somewhat. If there are no further objections, we should close this PR.
No problem cheers