Re: [LyX/master] Use C++11 string literals to make code easier to read.

2024-02-26 Thread Richard Kimberly Heck

On 2/26/24 16:04, Jean-Marc Lasgouttes wrote:

Le 26/02/2024 à 21:18, Richard Kimberly Heck a écrit :

On 2/26/24 09:24, Thibaut Cuvelier wrote:

commit 6b1441036f35767c0b60af510222ba792b17b829
Author: Thibaut Cuvelier 
Date:   Mon Feb 26 15:24:36 2024 +0100

 Use C++11 string literals to make code easier to read.


I didn't know about those. I'd guess there are lots of places we 
could make this kind of minor change.


I'd say that the syntax is a bit weird with the parentheses around the 
string contents.


But you don't have to worry about escaping quotes. That's the advantage. 
It's so easy to screw up the escapes.


I guess I'm somewhat familiar with this from Python and the 
triple-quoted strings.


Riki


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] Use C++11 string literals to make code easier to read.

2024-02-26 Thread Jean-Marc Lasgouttes

Le 26/02/2024 à 21:18, Richard Kimberly Heck a écrit :

On 2/26/24 09:24, Thibaut Cuvelier wrote:

commit 6b1441036f35767c0b60af510222ba792b17b829
Author: Thibaut Cuvelier 
Date:   Mon Feb 26 15:24:36 2024 +0100

 Use C++11 string literals to make code easier to read.


I didn't know about those. I'd guess there are lots of places we could 
make this kind of minor change.


I'd say that the syntax is a bit weird with the parentheses around the 
string contents.


JMarc

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] Use C++11 string literals to make code easier to read.

2024-02-26 Thread Richard Kimberly Heck

On 2/26/24 09:24, Thibaut Cuvelier wrote:

commit 6b1441036f35767c0b60af510222ba792b17b829
Author: Thibaut Cuvelier 
Date:   Mon Feb 26 15:24:36 2024 +0100

 Use C++11 string literals to make code easier to read.


I didn't know about those. I'd guess there are lots of places we could 
make this kind of minor change.


Riki


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel