Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[j8] Strings use single quotes: u'' and b''
Not u"" and b"" Some reasons for this - It opens up '' as a synonym for u'' (could be used in TSV8, if not JSON8) - In YSH, we have r'' u'' b'' that don't support interpolation - while "$x" supports interpolation - JavaScript and Python both support '' in code, so it's not too unfamiliar - although note we're not compatible, e.g. because we use \u{123456} Aesthetic: - b'' is less noisy than b"" - you could argue that u'' is more distinct from JSON "" than u"" is
- Loading branch information
Andy C
committed
Jan 4, 2024
1 parent
82af762
commit 5ac3494
Showing
7 changed files
with
79 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters