Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 10 months agoBrace Stylesh.itjust.worksexternal-linkmessage-square158linkfedilinkarrow-up11.32Karrow-down114
arrow-up11.31Karrow-down1external-linkBrace Stylesh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 10 months agomessage-square158linkfedilink
minus-squareVeganPizza69 Ⓥ@lemmy.worldlinkfedilinkarrow-up2·10 months agowhy stop at curly brackets? Do all of them: parentheses, square brackets, angle brackets, and curly brackets. Also, strings should be liberated. Move all non-escaped quote characters to the end of the line too.
minus-squarepsud@aussie.zonelinkfedilinkarrow-up1·10 months agoAnd escape the newlines that you introduce in the strings
why stop at curly brackets? Do all of them: parentheses, square brackets, angle brackets, and curly brackets. Also, strings should be liberated. Move all non-escaped quote characters to the end of the line too.
And escape the newlines that you introduce in the strings