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