alphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · vor 2 JahrenAdded Bugs to Keep my jobsh.itjust.worksimagemessage-square160fedilinkarrow-up1349
arrow-up1349imageAdded Bugs to Keep my jobsh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · vor 2 Jahrenmessage-square160fedilink
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up2·vor 2 JahrenWhy do u prefer single quotes?
minus-squaregrrgyle@slrpnk.netlinkfedilinkarrow-up4·vor 2 JahrenNot Shall330, but double quotes can imply variables in the string in some languages.
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up2·vor 2 JahrenWhich languages are these?
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up5·vor 2 JahrenPHP for one. “$x” will interpret the variable $x. ‘$x’ does not.
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up2·vor 2 JahrenWell there’s ya problem ur using php.
minus-squareSchal330@lemmy.worldlinkfedilinkarrow-up3·vor 2 JahrenI have no preference! It was to do with Spring/yaml config and some really strange conflict which required the use of single quotes. I’m still a total noob in the world of software dev, so I wouldn’t be able to explain why it worked 🤣
Why do u prefer single quotes?
Not Shall330, but double quotes can imply variables in the string in some languages.
Which languages are these?
PHP for one. “$x” will interpret the variable $x. ‘$x’ does not.
Well there’s ya problem ur using php.
Also bash
And Perl.
I have no preference! It was to do with Spring/yaml config and some really strange conflict which required the use of single quotes. I’m still a total noob in the world of software dev, so I wouldn’t be able to explain why it worked 🤣