MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/rqgxot/3am_code_vs_10am_code/hqnvbjy/?context=3
r/badcode • u/M4A28 • Dec 28 '21
53 comments sorted by
View all comments
Show parent comment
1
I'd at least make an exception for strings that contain the chosen type of quote, to save some escaping. Especially to save multiple levels of escaping like
cmd = "echo \"this string is \\\"readable\\\"!\"";
View all comments
Show parent comment
1
u/Prom3th3an Dec 31 '21
I'd at least make an exception for strings that contain the chosen type of quote, to save some escaping. Especially to save multiple levels of escaping like