alphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · 7 months agoAdded Bugs to Keep my jobsh.itjust.worksimagemessage-square160fedilinkarrow-up1350arrow-down127
arrow-up1323arrow-down1imageAdded Bugs to Keep my jobsh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · 7 months agomessage-square160fedilink
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up2·7 months agoWhy do u prefer single quotes?
minus-squaregrrgyle@slrpnk.netlinkfedilinkarrow-up4·7 months agoNot Shall330, but double quotes can imply variables in the string in some languages.
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up2·7 months agoWhich languages are these?
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up5·7 months agoPHP for one. “$x” will interpret the variable $x. ‘$x’ does not.
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up2arrow-down1·6 months agoWell there’s ya problem ur using php.
minus-squareSchal330@lemmy.worldlinkfedilinkarrow-up3·7 months agoI 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 🤣