Using non-breakable spaces in test method names
9 points by edent
9 points by edent
It's an interesting idea, but I see no value added vs snake_case
Q: How can you tell if you've typed a classic space by mistake?
A: Don't worry, you'll see it immediately
this doesn't resonate with me at all - difference will be invisible e.g. when grepping or doing basically any other text processing in the terminal (not to mention lack of matches if I grep "test some thing" instead of version with nbsp)
This confirms that it's really a bad idea and the fact they had issues with the syntax highlighting in various editors. But instead then went full on and published an article about it!
The experiment is interesting but, honestly, only members of the PHP community could have think this should be something else than an experiment!
I had to check the writing date for a "1 April" but nothing there :-)
This hack doesn’t work in languages that that follow UAX #31 syntax (JavaScript, C, C++, Rust, Golang, Python) and many that don’t (Perl is close to UAX #31, Java and C# have older syntax using more basic character properties).